Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.0008863/0.0008863, allocations: 95.41 kB / 15.69 MB, free: 484 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.0008192/0.0008192, allocations: 176.6 kB / 16.57 MB, free: 6.863 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.238/1.238, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6171/0.6171, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002749, allocations: 8 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.00911/0.1356, allocations: 9.607 MB / 0.5661 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007238/0.1428, allocations: 5.349 MB / 0.5713 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007858/0.1437, allocations: 39.69 kB / 0.5714 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.1441, allocations: 226.4 kB / 0.5716 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.1459, allocations: 0.8372 MB / 0.5724 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1473, allocations: 0.6 MB / 0.573 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.1487, allocations: 1.26 MB / 0.5742 GB, free: 9.719 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003249/0.1519, allocations: 2.168 MB / 0.5763 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/0.1527, allocations: 0.6148 MB / 0.5769 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007658/0.1534, allocations: 0.6536 MB / 0.5776 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1536, allocations: 56 kB / 0.5776 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.1546, allocations: 0.5109 MB / 0.5781 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.1549, allocations: 418.8 kB / 0.5785 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.1552, allocations: 296.8 kB / 0.5788 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.1567, allocations: 1.718 MB / 0.5805 GB, free: 3.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1567, allocations: 0 / 0.5805 GB, free: 3.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1567, allocations: 0 / 0.5805 GB, free: 3.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.1567, allocations: 0 / 0.5805 GB, free: 3.242 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002132/0.1588, allocations: 1.599 MB / 0.5821 GB, free: 1.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1589, allocations: 11.97 kB / 0.5821 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.1591, allocations: 219.2 kB / 0.5823 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/0.1629, allocations: 0.6846 MB / 0.5829 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2667/0.4296, allocations: 0.8768 MB / 0.5838 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.69e-05/0.4298, allocations: 91.56 kB / 0.5839 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.43, allocations: 126.8 kB / 0.584 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.4335, allocations: 2.188 MB / 0.5861 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.4335, allocations: 14.86 kB / 0.5862 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.4337, allocations: 57.28 kB / 0.5862 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002728/0.434, allocations: 168 kB / 0.5864 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.4374, allocations: 1.859 MB / 0.5882 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.4492, allocations: 12.47 MB / 0.6004 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004426/0.4537, allocations: 1.956 MB / 0.6023 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.4538, allocations: 103.7 kB / 0.6024 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.4539, allocations: 40.47 kB / 0.6024 GB, free: 18.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=103): time 2.655e-06/0.4539, allocations: 0 / 0.6024 GB, free: 18.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=110): time 0.006202/0.4601, allocations: 3.7 MB / 0.606 GB, free: 16.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.4601, allocations: 67.31 kB / 0.6061 GB, free: 16.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.4613, allocations: 0.9174 MB / 0.607 GB, free: 16.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.4614, allocations: 41.52 kB / 0.607 GB, free: 16.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.462, allocations: 0.734 MB / 0.6077 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.4623, allocations: 380.2 kB / 0.6081 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.4624, allocations: 29.84 kB / 0.6081 GB, free: 15.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4626, allocations: 364.1 kB / 0.6085 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.4637, allocations: 0.6074 MB / 0.6091 GB, free: 15.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.465, allocations: 1.102 MB / 0.6102 GB, free: 14.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.4662, allocations: 0.7621 MB / 0.6109 GB, free: 13.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.4662, allocations: 8.938 kB / 0.6109 GB, free: 13.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003267/0.4695, allocations: 2.087 MB / 0.6129 GB, free: 13.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.4695, allocations: 16.64 kB / 0.613 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.4696, allocations: 15.88 kB / 0.613 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/0.4704, allocations: 264.2 kB / 0.6132 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4716, allocations: 375.8 kB / 0.6136 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006763/0.4784, allocations: 10.82 MB / 0.6242 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.4799, allocations: 126.3 kB / 0.6243 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.48, allocations: 71.69 kB / 0.6243 GB, free: 2.223 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000686/0.4807, allocations: 407 kB / 0.6247 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.4809, allocations: 130.5 kB / 0.6249 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.4837, allocations: 1.68 MB / 0.6265 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.4837, allocations: 11 kB / 0.6265 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.4838, allocations: 2.75 kB / 0.6265 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4838, allocations: 7.969 kB / 0.6265 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/0.4899, allocations: 3.286 MB / 0.6297 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.49, allocations: 7.781 kB / 0.6297 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/0.4907, allocations: 216.8 kB / 0.6299 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006505/0.4914, allocations: 245 kB / 0.6302 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.085e-05/0.4915, allocations: 23.84 kB / 0.6302 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007662/0.4991, allocations: 10.81 MB / 0.6407 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.4992, allocations: 9.312 kB / 0.6408 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/0.5021, allocations: 2.072 MB / 0.6428 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.5027, allocations: 329.4 kB / 0.6431 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.5028, allocations: 19.78 kB / 0.6431 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006816/0.5035, allocations: 94.92 kB / 0.6432 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.5037, allocations: 95.97 kB / 0.6433 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.5037, allocations: 35.59 kB / 0.6433 GB, free: 1.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007806/0.5045, allocations: 0.6087 MB / 0.6439 GB, free: 1.301 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5045, allocations: 0 / 0.6439 GB, free: 1.301 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001467/0.506, allocations: 392 kB / 0.6443 GB, free: 0.918 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003395/0.5094, allocations: 4.147 MB / 0.6483 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00359/0.513, allocations: 2.488 MB / 0.6508 GB, free: 9.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.513, allocations: 0 / 0.6508 GB, free: 9.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.5151, allocations: 1.63 MB / 0.6524 GB, free: 8.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.5167, allocations: 316.7 kB / 0.6527 GB, free: 7.945 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.5337, allocations: 19.06 MB / 0.6713 GB, free: 4.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009858/0.5347, allocations: 1.356 MB / 0.6726 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001086/0.5358, allocations: 359.3 kB / 0.6729 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.5364, allocations: 0.5227 MB / 0.6735 GB, free: 1.93 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5365, allocations: 0 / 0.6735 GB, free: 1.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.338/1.874, allocations: 26.7 MB / 0.6995 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/1.874, allocations: 228 kB / 0.6998 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/4.045, allocations: 7.875 kB / 0.6998 GB, free: 7.375 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: