Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.745/2.745, allocations: 287.3 MB / 302.3 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002483/0.002483, allocations: 178.9 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001643/0.001643, allocations: 96.92 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004988, allocations: 10.41 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2155, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004381/0.2199, allocations: 2.897 MB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004118/0.2241, allocations: 2.033 MB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.2244, allocations: 7.938 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.2247, allocations: 31.77 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006885/0.2254, allocations: 163.5 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2264, allocations: 219.4 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000511/0.2269, allocations: 223.5 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006742/0.2276, allocations: 325.4 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.2279, allocations: 103.6 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.2282, allocations: 123.6 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.2282, allocations: 12 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007/0.2289, allocations: 255.5 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2291, allocations: 75.8 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.2292, allocations: 73.58 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.2298, allocations: 367.1 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2298, allocations: 3.938 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2299, allocations: 0 / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.2299, allocations: 0 / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00112/0.231, allocations: 0.569 MB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.2311, allocations: 12.03 kB / 0.9856 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.632e-05/0.2312, allocations: 58.53 kB / 0.9856 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.2326, allocations: 139.4 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.2331, allocations: 270.6 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.2332, allocations: 16.42 kB / 0.986 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.2332, allocations: 16 kB / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000992/0.2342, allocations: 419.5 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2343, allocations: 4 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.2343, allocations: 7.984 kB / 0.9865 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.36e-05/0.2344, allocations: 40.48 kB / 0.9865 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.2354, allocations: 361.9 kB / 0.9868 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003194/0.2386, allocations: 2.05 MB / 0.9888 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.2399, allocations: 357.6 kB / 0.9892 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.2401, allocations: 93.27 kB / 0.9893 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2401, allocations: 42.69 kB / 0.9893 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.326e-06/0.2401, allocations: 0 / 0.9893 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.005319/0.2454, allocations: 1.268 MB / 0.9906 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.2456, allocations: 81.34 kB / 0.9906 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.2459, allocations: 232.9 kB / 0.9909 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.2459, allocations: 29.7 kB / 0.9909 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.246, allocations: 184 kB / 0.9911 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.2461, allocations: 102.6 kB / 0.9912 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.2462, allocations: 12 kB / 0.9912 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.2463, allocations: 330.8 kB / 0.9915 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.2468, allocations: 167.9 kB / 0.9916 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.2474, allocations: 275.8 kB / 0.9919 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.2481, allocations: 199.9 kB / 0.9921 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2481, allocations: 3.953 kB / 0.9921 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001754/0.2498, allocations: 0.5534 MB / 0.9926 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002565/0.2501, allocations: 1.138 MB / 0.9937 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.2502, allocations: 4 kB / 0.9938 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/0.2507, allocations: 85.56 kB / 0.9938 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.2515, allocations: 91.88 kB / 0.9939 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.2532, allocations: 1.966 MB / 0.9958 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.2538, allocations: 43.86 kB / 0.9959 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.2539, allocations: 16 kB / 0.9959 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.2539, allocations: 4 kB / 0.9959 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001608/0.2555, allocations: 0.4975 MB / 0.9964 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2556, allocations: 7.984 kB / 0.9964 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.2559, allocations: 77.61 kB / 0.9965 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.2567, allocations: 96.03 kB / 0.9966 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003252/0.257, allocations: 0.5484 MB / 0.9971 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.2575, allocations: 35.97 kB / 0.9971 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.2578, allocations: 12.09 kB / 0.9971 GB, free: 8.145 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000452/0.2583, allocations: 246.1 kB / 0.9974 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.2585, allocations: 27.72 kB / 0.9974 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.2607, allocations: 486.4 kB / 0.9979 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.2607, allocations: 8 kB / 0.9979 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2607, allocations: 7.938 kB / 0.9979 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.2608, allocations: 11.97 kB / 0.9979 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.2645, allocations: 1.043 MB / 0.9989 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.2645, allocations: 7.984 kB / 0.9989 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/0.2652, allocations: 67.89 kB / 0.999 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/0.2657, allocations: 73.89 kB / 0.9991 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.2658, allocations: 11.95 kB / 0.9991 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.268, allocations: 1.981 MB / 1.001 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.268, allocations: 0 / 1.001 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.2706, allocations: 0.762 MB / 1.002 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/0.2712, allocations: 136.7 kB / 1.002 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.2714, allocations: 8 kB / 1.002 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/0.2724, allocations: 35.97 kB / 1.002 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.2726, allocations: 27.95 kB / 1.002 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.2726, allocations: 12 kB / 1.002 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002855/0.2729, allocations: 164.5 kB / 1.002 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.91e-07/0.2729, allocations: 0 / 1.002 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001389/0.2743, allocations: 132 kB / 1.002 GB, free: 2.543 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002429/0.2768, allocations: 1.845 MB / 1.004 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003387/0.2802, allocations: 0.8568 MB / 1.005 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.2803, allocations: 0 / 1.005 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.2817, allocations: 323.3 kB / 1.005 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.2826, allocations: 52.39 kB / 1.005 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/0.2917, allocations: 3.795 MB / 1.009 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.2925, allocations: 0.8002 MB / 1.01 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008174/0.2933, allocations: 110.9 kB / 1.01 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.2937, allocations: 83.41 kB / 1.01 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/0.2937, allocations: 4 kB / 1.01 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.3302, allocations: 6.529 MB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/0.3307, allocations: 247.1 kB / 1.017 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.003, allocations: 0 / 1.017 GB, free: 3.82 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)