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.001044/0.001044, allocations: 109.9 kB / 16.41 MB, free: 6.473 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.0009966/0.0009966, allocations: 191.9 kB / 17.34 MB, free: 5.754 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6893/0.6893, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 63.47 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1215, allocations: 77.92 MB / 0.644 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02074/0.1422, allocations: 20.41 MB / 0.664 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.1537, allocations: 7.697 MB / 0.6715 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.1553, allocations: 59.81 kB / 0.6716 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.1586, allocations: 1.345 MB / 0.6729 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.1609, allocations: 1.011 MB / 0.6739 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.1652, allocations: 1.997 MB / 0.6758 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004484/0.1697, allocations: 4.32 MB / 0.68 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006238/0.1759, allocations: 6.159 MB / 0.686 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.1781, allocations: 1.843 MB / 0.6878 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.1811, allocations: 2.193 MB / 0.69 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005623/0.1817, allocations: 428 kB / 0.6904 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.1832, allocations: 0.9557 MB / 0.6913 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.1846, allocations: 1.645 MB / 0.6929 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.1864, allocations: 1.724 MB / 0.6946 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004986/0.1914, allocations: 6.183 MB / 0.7007 GB, free: 15.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1914, allocations: 0 / 0.7007 GB, free: 15.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1914, allocations: 0 / 0.7007 GB, free: 15.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.934e-05/0.1915, allocations: 3.938 kB / 0.7007 GB, free: 15.36 MB / 0.545 GB 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.005368/0.1969, allocations: 3.055 MB / 0.7036 GB, free: 12.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1969, allocations: 12.62 kB / 0.7037 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005752/0.1975, allocations: 446 kB / 0.7041 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.2009, allocations: 0.7428 MB / 0.7048 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.2037, allocations: 1.571 MB / 0.7063 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.2039, allocations: 222.1 kB / 0.7065 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004796/0.2044, allocations: 284.4 kB / 0.7068 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007152/0.2115, allocations: 5.082 MB / 0.7118 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.725e-05/0.2116, allocations: 3.938 kB / 0.7118 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/0.2119, allocations: 132 kB / 0.7119 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.2121, allocations: 204.6 kB / 0.7121 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006491/0.2186, allocations: 4.227 MB / 0.7162 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02341/0.2421, allocations: 22.92 MB / 0.7386 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.2448, allocations: 1.739 MB / 0.7403 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.2464, allocations: 1.145 MB / 0.7414 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.2466, allocations: 105.7 kB / 0.7415 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.2466, allocations: 43.22 kB / 0.7416 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.665e-06/0.2466, allocations: 0 / 0.7416 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.2608/0.5075, allocations: 4.006 MB / 0.7455 GB, free: 92.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.5076, allocations: 141.8 kB / 0.7456 GB, free: 92.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.509, allocations: 0.8647 MB / 0.7465 GB, free: 92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.5091, allocations: 42.69 kB / 0.7465 GB, free: 91.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006284/0.5098, allocations: 1.165 MB / 0.7476 GB, free: 91.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.51, allocations: 310.3 kB / 0.7479 GB, free: 91.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.5104, allocations: 274.1 kB / 0.7482 GB, free: 91.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5106, allocations: 410 kB / 0.7486 GB, free: 90.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.5118, allocations: 0.8227 MB / 0.7494 GB, free: 90.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.5135, allocations: 1.31 MB / 0.7507 GB, free: 89.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.5163, allocations: 2.166 MB / 0.7528 GB, free: 88.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.5163, allocations: 4.594 kB / 0.7528 GB, free: 88.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003793/0.5201, allocations: 2.208 MB / 0.755 GB, free: 87.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5202, allocations: 11.28 kB / 0.755 GB, free: 87.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.5202, allocations: 20.72 kB / 0.755 GB, free: 87.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/0.5202, allocations: 21.92 kB / 0.755 GB, free: 87.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.5219, allocations: 414.4 kB / 0.7554 GB, free: 87.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/0.5219, allocations: 31.98 kB / 0.7554 GB, free: 87.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.5232, allocations: 215.7 kB / 0.7556 GB, free: 87.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.5234, allocations: 59.59 kB / 0.7557 GB, free: 87.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002571/0.5259, allocations: 1.68 MB / 0.7573 GB, free: 86.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001363/0.5273, allocations: 1.196 MB / 0.7585 GB, free: 85.97 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002311/0.5296, allocations: 1.9 MB / 0.7604 GB, free: 84.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.084e-05/0.5297, allocations: 4.406 kB / 0.7604 GB, free: 84.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002924/0.5326, allocations: 1.928 MB / 0.7622 GB, free: 84.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5326, allocations: 10.84 kB / 0.7623 GB, free: 84.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.5326, allocations: 14.94 kB / 0.7623 GB, free: 84.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.5327, allocations: 26.69 kB / 0.7623 GB, free: 84.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.534, allocations: 369.1 kB / 0.7626 GB, free: 84.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/0.534, allocations: 34.08 kB / 0.7627 GB, free: 84.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5352, allocations: 175 kB / 0.7628 GB, free: 83.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/0.5353, allocations: 64.58 kB / 0.7629 GB, free: 83.96 MB / 0.5762 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.0003358/0.5357, allocations: 263.3 kB / 0.7632 GB, free: 83.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.5359, allocations: 104 kB / 0.7633 GB, free: 83.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.5384, allocations: 1.852 MB / 0.7651 GB, free: 82.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.5384, allocations: 9.188 kB / 0.7651 GB, free: 82.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.5384, allocations: 4.281 kB / 0.7651 GB, free: 82.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.5384, allocations: 5.375 kB / 0.7651 GB, free: 82.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.5485, allocations: 9.596 MB / 0.7745 GB, free: 78.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.5485, allocations: 11.62 kB / 0.7745 GB, free: 78.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.5496, allocations: 317.3 kB / 0.7748 GB, free: 78.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.5496, allocations: 15.19 kB / 0.7748 GB, free: 78.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.5497, allocations: 31.14 kB / 0.7748 GB, free: 78.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.5497, allocations: 23.36 kB / 0.7748 GB, free: 78.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.5497, allocations: 19.31 kB / 0.7749 GB, free: 78.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.5518, allocations: 2.403 MB / 0.7772 GB, free: 76.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/0.5524, allocations: 369.5 kB / 0.7776 GB, free: 76.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.5526, allocations: 35.28 kB / 0.7776 GB, free: 76.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009008/0.5535, allocations: 143.5 kB / 0.7777 GB, free: 76.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.5536, allocations: 95.42 kB / 0.7778 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/0.5537, allocations: 37.98 kB / 0.7779 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006755/0.5544, allocations: 0.614 MB / 0.7785 GB, free: 75.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5544, allocations: 0 / 0.7785 GB, free: 75.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002244/0.5566, allocations: 0.7542 MB / 0.7792 GB, free: 75.45 MB / 0.5762 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.002178/0.5588, allocations: 2.978 MB / 0.7821 GB, free: 72.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003524/0.5624, allocations: 2.901 MB / 0.7849 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.5624, allocations: 5.375 kB / 0.7849 GB, free: 69.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009428/0.5633, allocations: 0.9035 MB / 0.7858 GB, free: 68.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.5651, allocations: 312.6 kB / 0.7861 GB, free: 68.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/0.5826, allocations: 15.24 MB / 0.801 GB, free: 52.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.584, allocations: 2.131 MB / 0.8031 GB, free: 50.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00145/0.5855, allocations: 0.7488 MB / 0.8038 GB, free: 49.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000826/0.5863, allocations: 0.8273 MB / 0.8046 GB, free: 48.48 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.5863, allocations: 0 / 0.8046 GB, free: 48.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0418/0.6281, allocations: 32.83 MB / 0.8367 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.841/9.47, allocations: 10.77 kB / 0.8367 GB, free: 15.97 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)