Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 95.48 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008375/0.0008375, allocations: 177.4 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6109/0.6109, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002664, allocations: 8 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00539/0.1361, allocations: 5.759 MB / 0.5624 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003505/0.1397, allocations: 2.913 MB / 0.5652 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1399, allocations: 23.81 kB / 0.5652 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.1402, allocations: 119.2 kB / 0.5653 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006634/0.1409, allocations: 422.6 kB / 0.5657 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.1415, allocations: 343.2 kB / 0.5661 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000717/0.1422, allocations: 0.7389 MB / 0.5668 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.1435, allocations: 0.9373 MB / 0.5677 GB, free: 432 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.1438, allocations: 354.7 kB / 0.568 GB, free: 76 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.1443, allocations: 394.5 kB / 0.5684 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.1444, allocations: 36 kB / 0.5685 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.1446, allocations: 143.8 kB / 0.5686 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.1448, allocations: 255.3 kB / 0.5688 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.145, allocations: 181.2 kB / 0.569 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007187/0.1457, allocations: 0.8612 MB / 0.5698 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1457, allocations: 0 / 0.5698 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1458, allocations: 0 / 0.5698 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1458, allocations: 0 / 0.5698 GB, free: 14.21 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001387/0.1472, allocations: 1.009 MB / 0.5708 GB, free: 13.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1472, allocations: 8.031 kB / 0.5708 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.1473, allocations: 122.5 kB / 0.571 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.1485, allocations: 218.7 kB / 0.5712 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007288/0.1492, allocations: 0.5366 MB / 0.5717 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.1492, allocations: 45.3 kB / 0.5717 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.1493, allocations: 67.98 kB / 0.5718 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1506, allocations: 1.073 MB / 0.5728 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.1506, allocations: 7.938 kB / 0.5729 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.1507, allocations: 27.98 kB / 0.5729 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.1508, allocations: 89.19 kB / 0.573 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009851/0.1518, allocations: 0.7504 MB / 0.5737 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/0.1564, allocations: 5.897 MB / 0.5795 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.1573, allocations: 0.5555 MB / 0.58 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1573, allocations: 4.438 kB / 0.58 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1573, allocations: 42.95 kB / 0.58 GB, free: 3.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 1.513e-06/0.1573, allocations: 0 / 0.58 GB, free: 3.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003328/0.1607, allocations: 1.98 MB / 0.582 GB, free: 1.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1607, allocations: 59.84 kB / 0.582 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.1612, allocations: 0.5586 MB / 0.5826 GB, free: 412 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.1613, allocations: 33.7 kB / 0.5826 GB, free: 372 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2186/0.3799, allocations: 410.8 kB / 0.583 GB, free: 33.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.3801, allocations: 169.2 kB / 0.5832 GB, free: 33.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.3802, allocations: 12.94 kB / 0.5832 GB, free: 33.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3803, allocations: 378.5 kB / 0.5835 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.3807, allocations: 271.6 kB / 0.5838 GB, free: 32.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.3812, allocations: 490.5 kB / 0.5843 GB, free: 32.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.3817, allocations: 350.8 kB / 0.5846 GB, free: 32.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3817, allocations: 1.719 kB / 0.5846 GB, free: 32.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001733/0.3834, allocations: 1.083 MB / 0.5857 GB, free: 32.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3835, allocations: 9.016 kB / 0.5857 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3835, allocations: 7 kB / 0.5857 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007998/0.3843, allocations: 281.7 kB / 0.5859 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.3848, allocations: 125 kB / 0.5861 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/0.3896, allocations: 6.697 MB / 0.5926 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.3902, allocations: 44.81 kB / 0.5926 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.3902, allocations: 27.25 kB / 0.5927 GB, free: 26.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003279/0.3906, allocations: 256.2 kB / 0.5929 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.464e-05/0.3907, allocations: 71.84 kB / 0.593 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.3921, allocations: 0.8847 MB / 0.5938 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3921, allocations: 10.7 kB / 0.5939 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3921, allocations: 3.75 kB / 0.5939 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3921, allocations: 2.109 kB / 0.5939 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.3946, allocations: 1.723 MB / 0.5955 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.3946, allocations: 3.328 kB / 0.5956 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.3949, allocations: 63.25 kB / 0.5956 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006712/0.3955, allocations: 266.7 kB / 0.5959 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.3956, allocations: 11.53 kB / 0.5959 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004741/0.4003, allocations: 6.69 MB / 0.6024 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4003, allocations: 6.969 kB / 0.6024 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.4017, allocations: 1.045 MB / 0.6034 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.402, allocations: 191.5 kB / 0.6036 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.4021, allocations: 13.36 kB / 0.6036 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.4025, allocations: 29.75 kB / 0.6037 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.4026, allocations: 45.19 kB / 0.6037 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.4026, allocations: 14.53 kB / 0.6037 GB, free: 18.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004097/0.403, allocations: 383.8 kB / 0.6041 GB, free: 18.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.403, allocations: 8.781 kB / 0.6041 GB, free: 18.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007713/0.4038, allocations: 224.9 kB / 0.6043 GB, free: 18.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.4053, allocations: 2.02 MB / 0.6063 GB, free: 16.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001866/0.4072, allocations: 1.266 MB / 0.6075 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4072, allocations: 0 / 0.6075 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.4083, allocations: 0.8985 MB / 0.6084 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.4091, allocations: 196.4 kB / 0.6086 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.4157, allocations: 8.938 MB / 0.6173 GB, free: 8.379 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.4163, allocations: 1.03 MB / 0.6183 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004302/0.4167, allocations: 118 kB / 0.6184 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.417, allocations: 253.2 kB / 0.6187 GB, free: 7.43 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.417, allocations: 0 / 0.6187 GB, free: 7.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3019/0.7188, allocations: 16.31 MB / 0.6346 GB, free: 14.26 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/0.7191, allocations: 214 kB / 0.6348 GB, free: 14.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.704, allocations: 0 / 0.6348 GB, free: 14.03 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: