Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.0007133/0.0007133, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007623/0.0007623, allocations: 177.2 kB / 16.58 MB, free: 6.797 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.214/1.214, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6031/0.6031, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 9.5 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.186, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01941/0.2055, allocations: 18.51 MB / 0.575 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.2172, allocations: 7.123 MB / 0.5819 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.2191, allocations: 51.81 kB / 0.582 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.2201, allocations: 365.3 kB / 0.5823 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.2223, allocations: 0.7468 MB / 0.5831 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2447/0.4671, allocations: 1.008 MB / 0.584 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005662/0.4728, allocations: 4.944 MB / 0.5889 GB, free: 15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009144/0.4819, allocations: 6.541 MB / 0.5953 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.4844, allocations: 1.277 MB / 0.5965 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.4871, allocations: 1.835 MB / 0.5983 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.4874, allocations: 175 kB / 0.5985 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009852/0.4884, allocations: 428.4 kB / 0.5989 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.4897, allocations: 1.331 MB / 0.6002 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005612/0.4903, allocations: 0.5538 MB / 0.6007 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00385/0.4941, allocations: 5.145 MB / 0.6057 GB, free: 12.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4941, allocations: 3.938 kB / 0.6057 GB, free: 12.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.4941, allocations: 0 / 0.6057 GB, free: 12.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.775e-05/0.4942, allocations: 4.672 kB / 0.6058 GB, free: 12.52 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004134/0.4984, allocations: 2.46 MB / 0.6082 GB, free: 11.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4984, allocations: 8.938 kB / 0.6082 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005544/0.499, allocations: 455 kB / 0.6086 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.5015, allocations: 0.6804 MB / 0.6093 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.5035, allocations: 1.508 MB / 0.6107 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.5036, allocations: 219.7 kB / 0.6109 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004087/0.504, allocations: 290.4 kB / 0.6112 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006488/0.5105, allocations: 5.034 MB / 0.6161 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.622e-05/0.5106, allocations: 10.25 kB / 0.6161 GB, free: 7.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/0.5109, allocations: 123.3 kB / 0.6163 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.5111, allocations: 209.9 kB / 0.6165 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005161/0.5163, allocations: 4.158 MB / 0.6205 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.5357, allocations: 23.03 MB / 0.643 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.5382, allocations: 1.724 MB / 0.6447 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.5396, allocations: 1.118 MB / 0.6458 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.5397, allocations: 97.59 kB / 0.6459 GB, free: 9.945 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.5398, allocations: 47.2 kB / 0.6459 GB, free: 9.891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 2.464e-06/0.5398, allocations: 0 / 0.6459 GB, free: 9.891 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.005118/0.5449, allocations: 3.997 MB / 0.6498 GB, free: 5.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.545, allocations: 141.2 kB / 0.65 GB, free: 5.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.5459, allocations: 0.8408 MB / 0.6508 GB, free: 4.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/0.546, allocations: 45.64 kB / 0.6508 GB, free: 4.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006237/0.5466, allocations: 1.162 MB / 0.652 GB, free: 3.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.5468, allocations: 319.1 kB / 0.6523 GB, free: 3.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.5469, allocations: 24 kB / 0.6523 GB, free: 3.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5471, allocations: 409.5 kB / 0.6527 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.5481, allocations: 0.7911 MB / 0.6535 GB, free: 2.086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.5495, allocations: 1.289 MB / 0.6547 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.5507, allocations: 0.9983 MB / 0.6557 GB, free: 15.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5508, allocations: 4 kB / 0.6557 GB, free: 15.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002828/0.5536, allocations: 2.159 MB / 0.6578 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.5539, allocations: 0.5094 MB / 0.6583 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5539, allocations: 12 kB / 0.6583 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.5539, allocations: 24 kB / 0.6583 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.5553, allocations: 411.3 kB / 0.6587 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/0.5553, allocations: 31.88 kB / 0.6588 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.5562, allocations: 199.3 kB / 0.6589 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-05/0.5563, allocations: 60.02 kB / 0.659 GB, free: 11.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.5564, allocations: 7.938 kB / 0.659 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002276/0.5586, allocations: 1.765 MB / 0.6607 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5587, allocations: 16 kB / 0.6607 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.5587, allocations: 20 kB / 0.6608 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5598, allocations: 363.5 kB / 0.6611 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.5598, allocations: 31.86 kB / 0.6611 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.5605, allocations: 147.4 kB / 0.6613 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.5606, allocations: 52 kB / 0.6613 GB, free: 9.598 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001774/0.5624, allocations: 1.183 MB / 0.6625 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.5626, allocations: 102.8 kB / 0.6626 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.5651, allocations: 1.846 MB / 0.6644 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.5652, allocations: 12 kB / 0.6644 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5652, allocations: 1.969 kB / 0.6644 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.5652, allocations: 3.984 kB / 0.6644 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.5767, allocations: 9.581 MB / 0.6738 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.5768, allocations: 12 kB / 0.6738 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5778, allocations: 323.5 kB / 0.6741 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.05e-05/0.5779, allocations: 19.98 kB / 0.6741 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.739e-05/0.5779, allocations: 24 kB / 0.6741 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/0.578, allocations: 19.94 kB / 0.6741 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.578, allocations: 15.94 kB / 0.6742 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.5806, allocations: 2.411 MB / 0.6765 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.5811, allocations: 379.6 kB / 0.6769 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.5813, allocations: 31.98 kB / 0.6769 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/0.582, allocations: 147.8 kB / 0.677 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.5822, allocations: 91.48 kB / 0.6771 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.225e-05/0.5823, allocations: 36 kB / 0.6772 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006492/0.5829, allocations: 0.581 MB / 0.6777 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5829, allocations: 0 / 0.6777 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002212/0.5851, allocations: 0.7461 MB / 0.6785 GB, free: 7.629 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002671/0.5878, allocations: 2.989 MB / 0.6814 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003469/0.5913, allocations: 2.834 MB / 0.6842 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.5913, allocations: 4 kB / 0.6842 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.5924, allocations: 0.909 MB / 0.685 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.5939, allocations: 279.4 kB / 0.6853 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.609, allocations: 11.47 MB / 0.6965 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/0.6108, allocations: 2.125 MB / 0.6986 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001655/0.6125, allocations: 0.7383 MB / 0.6993 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.6136, allocations: 0.8377 MB / 0.7001 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of SimCode: time 1.764e-06/0.6136, allocations: 0 / 0.7001 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04216/0.6557, allocations: 31.08 MB / 0.7305 GB, free: 2.043 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.6559, allocations: 201.3 kB / 0.7307 GB, free: 1.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.578, allocations: 3 kB / 0.7307 GB, free: 1.805 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) Environment - environmentSimulation: