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.005185/0.005185, allocations: 100.8 kB / 15.87 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.225/1.225, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6382/0.6382, allocations: 115.3 MB / 406 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 73.05 kB / 493 MB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 76.17 MB / 0.5559 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02242/0.1683, allocations: 20.26 MB / 0.5756 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2516/0.4199, allocations: 7.55 MB / 0.583 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.4215, allocations: 51.28 kB / 0.5831 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.4242, allocations: 1.254 MB / 0.5843 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.4263, allocations: 0.9215 MB / 0.5852 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.4301, allocations: 1.853 MB / 0.587 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007024/0.4371, allocations: 6.454 MB / 0.5933 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009065/0.4462, allocations: 6.858 MB / 0.6 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.4489, allocations: 1.552 MB / 0.6015 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.4526, allocations: 2.251 MB / 0.6037 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.4537, allocations: 292.2 kB / 0.604 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.456, allocations: 0.9417 MB / 0.6049 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.4577, allocations: 1.524 MB / 0.6064 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.4594, allocations: 1.564 MB / 0.6079 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.464, allocations: 6.079 MB / 0.6139 GB, free: 6.359 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.464, allocations: 0 / 0.6139 GB, free: 6.359 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.464, allocations: 0 / 0.6139 GB, free: 6.359 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.4641, allocations: 0 / 0.6139 GB, free: 6.359 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.005257/0.4694, allocations: 3.033 MB / 0.6168 GB, free: 4.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.4695, allocations: 10.84 kB / 0.6168 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006008/0.4701, allocations: 446.6 kB / 0.6173 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/0.473, allocations: 0.6794 MB / 0.6179 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.4755, allocations: 1.544 MB / 0.6194 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.4756, allocations: 217 kB / 0.6196 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.476, allocations: 290.4 kB / 0.6199 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006997/0.483, allocations: 5.044 MB / 0.6248 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/0.4831, allocations: 11.84 kB / 0.6248 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003006/0.4834, allocations: 121.7 kB / 0.625 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/0.4837, allocations: 212.6 kB / 0.6252 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/0.49, allocations: 4.173 MB / 0.6292 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.5127, allocations: 23 MB / 0.6517 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.5153, allocations: 1.728 MB / 0.6534 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.5167, allocations: 1.127 MB / 0.6545 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.5169, allocations: 106.8 kB / 0.6546 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.517, allocations: 43.22 kB / 0.6546 GB, free: 13.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=84): time 2.885e-06/0.517, allocations: 0 / 0.6546 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.005514/0.5225, allocations: 3.993 MB / 0.6585 GB, free: 9.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.5226, allocations: 141.1 kB / 0.6587 GB, free: 9.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009331/0.5235, allocations: 0.8487 MB / 0.6595 GB, free: 8.539 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/0.5236, allocations: 37.7 kB / 0.6595 GB, free: 8.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/0.5242, allocations: 1.159 MB / 0.6607 GB, free: 7.324 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.5245, allocations: 312.4 kB / 0.661 GB, free: 7.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/0.5249, allocations: 274.5 kB / 0.6612 GB, free: 6.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5251, allocations: 410.7 kB / 0.6616 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.5262, allocations: 0.8023 MB / 0.6624 GB, free: 5.531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.5276, allocations: 1.295 MB / 0.6637 GB, free: 4.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.5301, allocations: 2.136 MB / 0.6657 GB, free: 1.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5301, allocations: 8 kB / 0.6658 GB, free: 1.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003009/0.5331, allocations: 2.164 MB / 0.6679 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5331, allocations: 12.94 kB / 0.6679 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.5332, allocations: 12 kB / 0.6679 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.5332, allocations: 28 kB / 0.6679 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.5347, allocations: 415.2 kB / 0.6683 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.321e-05/0.5347, allocations: 23.94 kB / 0.6683 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009995/0.5357, allocations: 199.3 kB / 0.6685 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.5358, allocations: 55.98 kB / 0.6686 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00255/0.5384, allocations: 1.662 MB / 0.6702 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001255/0.5397, allocations: 1.166 MB / 0.6713 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002186/0.5418, allocations: 1.883 MB / 0.6732 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.109e-05/0.5419, allocations: 11.92 kB / 0.6732 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002645/0.5445, allocations: 1.887 MB / 0.675 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5445, allocations: 15.94 kB / 0.6751 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5446, allocations: 12 kB / 0.6751 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.5446, allocations: 24 kB / 0.6751 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.5458, allocations: 355.4 kB / 0.6754 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.359e-05/0.5458, allocations: 35.86 kB / 0.6755 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009141/0.5467, allocations: 163.5 kB / 0.6756 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.466e-05/0.5468, allocations: 59.98 kB / 0.6757 GB, free: 7.07 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003073/0.5471, allocations: 263.8 kB / 0.6759 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.5474, allocations: 98.78 kB / 0.676 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.55, allocations: 1.842 MB / 0.6778 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.55, allocations: 8 kB / 0.6778 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-06/0.5501, allocations: 3.938 kB / 0.6778 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5501, allocations: 11.97 kB / 0.6778 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.562, allocations: 9.574 MB / 0.6872 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.562, allocations: 12 kB / 0.6872 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.5632, allocations: 304.1 kB / 0.6875 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.5632, allocations: 16 kB / 0.6875 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/0.5633, allocations: 40 kB / 0.6875 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-05/0.5633, allocations: 31.8 kB / 0.6876 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.5633, allocations: 15.94 kB / 0.6876 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.5659, allocations: 2.396 MB / 0.6899 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/0.5664, allocations: 371.6 kB / 0.6903 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.5666, allocations: 35.98 kB / 0.6903 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.5674, allocations: 135.7 kB / 0.6904 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.5676, allocations: 95.81 kB / 0.6905 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.5677, allocations: 36 kB / 0.6906 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007311/0.5684, allocations: 0.5926 MB / 0.6912 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5684, allocations: 4 kB / 0.6912 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002276/0.5707, allocations: 0.7422 MB / 0.6919 GB, free: 6.051 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002979/0.5737, allocations: 2.985 MB / 0.6948 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003832/0.5775, allocations: 2.835 MB / 0.6976 GB, free: 76 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.5776, allocations: 4 kB / 0.6976 GB, free: 72 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.5788, allocations: 0.9104 MB / 0.6985 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.5804, allocations: 279.2 kB / 0.6987 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/0.6019, allocations: 16.72 MB / 0.7151 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.604, allocations: 2.12 MB / 0.7171 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001867/0.6059, allocations: 0.7384 MB / 0.7178 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.6069, allocations: 0.8234 MB / 0.7186 GB, free: 9.562 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6069, allocations: 0 / 0.7186 GB, free: 9.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04501/0.652, allocations: 30.81 MB / 0.7487 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.6522, allocations: 230.6 kB / 0.749 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.717, allocations: 0 / 0.749 GB, free: 10.86 MB / 0.5762 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/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)