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.001086/0.001086, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001043/0.001043, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.348/1.348, 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.8271/0.8271, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.25 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.136, allocations: 77.92 MB / 0.6441 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02364/0.1597, allocations: 20.41 MB / 0.664 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1721, allocations: 7.693 MB / 0.6715 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.1743, allocations: 67.81 kB / 0.6716 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.1778, allocations: 1.355 MB / 0.6729 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.1804, allocations: 1.019 MB / 0.6739 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004603/0.185, allocations: 1.989 MB / 0.6758 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004639/0.1896, allocations: 4.339 MB / 0.6801 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007116/0.1968, allocations: 6.153 MB / 0.6861 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.1997, allocations: 1.874 MB / 0.6879 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.2028, allocations: 2.197 MB / 0.6901 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006288/0.2034, allocations: 428 kB / 0.6905 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.2054, allocations: 0.9401 MB / 0.6914 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.2071, allocations: 1.653 MB / 0.693 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002073/0.2092, allocations: 1.712 MB / 0.6947 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005953/0.2151, allocations: 6.211 MB / 0.7007 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.2152, allocations: 0 / 0.7007 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2152, allocations: 0 / 0.7007 GB, free: 15.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000125/0.2153, allocations: 0 / 0.7007 GB, free: 15.3 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.006042/0.2214, allocations: 3.123 MB / 0.7038 GB, free: 12.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2214, allocations: 8.625 kB / 0.7038 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006682/0.2221, allocations: 450 kB / 0.7042 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/0.2259, allocations: 0.7561 MB / 0.705 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.2293, allocations: 1.575 MB / 0.7065 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.2295, allocations: 218.1 kB / 0.7067 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006213/0.2301, allocations: 292.3 kB / 0.707 GB, free: 8.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008942/0.2391, allocations: 5.074 MB / 0.7119 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-05/0.2392, allocations: 7.938 kB / 0.7119 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000396/0.2396, allocations: 128 kB / 0.7121 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/0.2398, allocations: 208.6 kB / 0.7123 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007775/0.2476, allocations: 4.224 MB / 0.7164 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.2736, allocations: 22.95 MB / 0.7388 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.2769, allocations: 1.743 MB / 0.7405 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.2788, allocations: 1.149 MB / 0.7416 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.279, allocations: 105.7 kB / 0.7417 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.279, allocations: 43.16 kB / 0.7418 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/0.279, allocations: 0 / 0.7418 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.305/0.584, allocations: 4.11 MB / 0.7458 GB, free: 92.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.5841, allocations: 141 kB / 0.7459 GB, free: 91.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.5854, allocations: 0.8671 MB / 0.7468 GB, free: 91.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.5856, allocations: 41.58 kB / 0.7468 GB, free: 91.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/0.5863, allocations: 1.202 MB / 0.748 GB, free: 91.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.5866, allocations: 327.8 kB / 0.7483 GB, free: 91.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/0.587, allocations: 278.4 kB / 0.7486 GB, free: 91.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5872, allocations: 408.4 kB / 0.7489 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.5886, allocations: 0.8255 MB / 0.7498 GB, free: 90.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.5903, allocations: 1.307 MB / 0.751 GB, free: 89.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/0.5933, allocations: 2.165 MB / 0.7531 GB, free: 88.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.5933, allocations: 3.875 kB / 0.7531 GB, free: 88.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00408/0.5974, allocations: 2.213 MB / 0.7553 GB, free: 87.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5975, allocations: 15 kB / 0.7553 GB, free: 87.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.5975, allocations: 18.5 kB / 0.7553 GB, free: 87.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.809e-05/0.5976, allocations: 21.88 kB / 0.7554 GB, free: 87.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.5993, allocations: 418.2 kB / 0.7558 GB, free: 87.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.444e-05/0.5993, allocations: 32.62 kB / 0.7558 GB, free: 87.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.6008, allocations: 218.1 kB / 0.756 GB, free: 87.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.601, allocations: 60.52 kB / 0.7561 GB, free: 87.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002966/0.604, allocations: 1.678 MB / 0.7577 GB, free: 86.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001578/0.6055, allocations: 1.194 MB / 0.7589 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002711/0.6083, allocations: 1.896 MB / 0.7607 GB, free: 84.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.374e-05/0.6083, allocations: 3.938 kB / 0.7607 GB, free: 84.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003376/0.6117, allocations: 1.935 MB / 0.7626 GB, free: 83.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.6117, allocations: 13.5 kB / 0.7626 GB, free: 83.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.6118, allocations: 18.66 kB / 0.7626 GB, free: 83.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.6118, allocations: 22.34 kB / 0.7627 GB, free: 83.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.6133, allocations: 360.5 kB / 0.763 GB, free: 83.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-05/0.6133, allocations: 34.08 kB / 0.763 GB, free: 83.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.6148, allocations: 178.4 kB / 0.7632 GB, free: 83.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.6149, allocations: 63.5 kB / 0.7633 GB, free: 83.89 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.0003829/0.6153, allocations: 258.7 kB / 0.7635 GB, free: 83.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.6156, allocations: 116.3 kB / 0.7636 GB, free: 83.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.6181, allocations: 1.852 MB / 0.7654 GB, free: 82.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.6182, allocations: 14.3 kB / 0.7654 GB, free: 82.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6182, allocations: 5.625 kB / 0.7655 GB, free: 82.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.6182, allocations: 11.05 kB / 0.7655 GB, free: 82.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.6294, allocations: 9.588 MB / 0.7748 GB, free: 78.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.6294, allocations: 10.3 kB / 0.7748 GB, free: 78.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.6306, allocations: 320 kB / 0.7751 GB, free: 78.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/0.6306, allocations: 15.25 kB / 0.7752 GB, free: 78.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.526e-05/0.6307, allocations: 31.19 kB / 0.7752 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/0.6307, allocations: 19.69 kB / 0.7752 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.6307, allocations: 19.53 kB / 0.7752 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.6328, allocations: 2.406 MB / 0.7776 GB, free: 76.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/0.6334, allocations: 379.7 kB / 0.7779 GB, free: 76.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.6336, allocations: 36.45 kB / 0.778 GB, free: 76.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/0.6345, allocations: 144.2 kB / 0.7781 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.6347, allocations: 89.7 kB / 0.7782 GB, free: 76.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.6348, allocations: 34.19 kB / 0.7782 GB, free: 76.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007675/0.6355, allocations: 0.6129 MB / 0.7788 GB, free: 75.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.6356, allocations: 0 / 0.7788 GB, free: 75.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002571/0.6381, allocations: 0.7588 MB / 0.7796 GB, free: 75.31 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.002347/0.6405, allocations: 2.987 MB / 0.7825 GB, free: 72.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00369/0.6442, allocations: 2.901 MB / 0.7853 GB, free: 69.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.6442, allocations: 0 / 0.7853 GB, free: 69.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000975/0.6452, allocations: 0.9131 MB / 0.7862 GB, free: 68.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.647, allocations: 302.8 kB / 0.7865 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/0.664, allocations: 15.31 MB / 0.8014 GB, free: 51.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.6656, allocations: 2.127 MB / 0.8035 GB, free: 49.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001673/0.6673, allocations: 0.7511 MB / 0.8043 GB, free: 49.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/0.6683, allocations: 0.8273 MB / 0.8051 GB, free: 48.25 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.6683, allocations: 0 / 0.8051 GB, free: 48.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/0.7159, allocations: 32.84 MB / 0.8371 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.339/10.05, allocations: 9.5 kB / 0.8371 GB, free: 15.74 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)