Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.001094/0.001094, allocations: 110.9 kB / 16.41 MB, free: 6.027 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.001104/0.001104, allocations: 190.3 kB / 17.34 MB, free: 5.633 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7393/0.7393, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 68.42 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1214, allocations: 77.93 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01884/0.1402, allocations: 16.69 MB / 0.6604 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009993/0.1503, allocations: 6.43 MB / 0.6666 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.1516, allocations: 51.81 kB / 0.6667 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.155, allocations: 1.289 MB / 0.6679 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.1571, allocations: 0.8713 MB / 0.6688 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.1608, allocations: 1.543 MB / 0.6703 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004375/0.1652, allocations: 3.843 MB / 0.6741 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00736/0.1726, allocations: 4.971 MB / 0.6789 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.1753, allocations: 1.656 MB / 0.6805 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.1783, allocations: 1.994 MB / 0.6825 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008292/0.1792, allocations: 380 kB / 0.6828 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.1811, allocations: 0.8427 MB / 0.6837 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001779/0.1828, allocations: 1.493 MB / 0.6851 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.1853, allocations: 1.533 MB / 0.6866 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005431/0.1907, allocations: 5.564 MB / 0.692 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1908, allocations: 4 kB / 0.6921 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1908, allocations: 0 / 0.6921 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001444/0.1909, allocations: 0 / 0.6921 GB, free: 8.215 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006521/0.1975, allocations: 2.732 MB / 0.6947 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1975, allocations: 12.62 kB / 0.6947 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007151/0.1982, allocations: 395.7 kB / 0.6951 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.2031, allocations: 0.9032 MB / 0.696 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/0.2058, allocations: 1.446 MB / 0.6974 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.2059, allocations: 189.5 kB / 0.6976 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005117/0.2065, allocations: 252.4 kB / 0.6978 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00716/0.2136, allocations: 4.65 MB / 0.7024 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.305e-05/0.2137, allocations: 11.92 kB / 0.7024 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003277/0.2141, allocations: 108 kB / 0.7025 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/0.2143, allocations: 176.3 kB / 0.7026 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006851/0.2211, allocations: 3.932 MB / 0.7065 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.2441, allocations: 21.41 MB / 0.7274 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.2467, allocations: 2.261 MB / 0.7296 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009965/0.2477, allocations: 0.7274 MB / 0.7303 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.2477, allocations: 11.98 kB / 0.7303 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.2478, allocations: 50.5 kB / 0.7304 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/0.2478, allocations: 0 / 0.7304 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.005953/0.2538, allocations: 4.187 MB / 0.7345 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.2539, allocations: 244.4 kB / 0.7347 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.2557, allocations: 1.174 MB / 0.7358 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.5e-05/0.2558, allocations: 33.7 kB / 0.7359 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000709/0.2565, allocations: 1.195 MB / 0.737 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.2568, allocations: 248.6 kB / 0.7373 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005076/0.2573, allocations: 343.1 kB / 0.7376 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2574, allocations: 341.9 kB / 0.7379 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.2587, allocations: 0.7503 MB / 0.7387 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.2604, allocations: 1.446 MB / 0.7401 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.263, allocations: 2.205 MB / 0.7422 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.2631, allocations: 8 kB / 0.7422 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.2973/0.5604, allocations: 2.258 MB / 0.7444 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.5604, allocations: 19.25 kB / 0.7445 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.722e-05/0.5605, allocations: 28.62 kB / 0.7445 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.722e-05/0.5605, allocations: 33.09 kB / 0.7445 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.5622, allocations: 447.3 kB / 0.7449 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.269e-05/0.5622, allocations: 51.03 kB / 0.745 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.564, allocations: 229.5 kB / 0.7452 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.5641, allocations: 90.52 kB / 0.7453 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002244/0.5664, allocations: 1.588 MB / 0.7468 GB, free: 90.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001331/0.5677, allocations: 1.366 MB / 0.7482 GB, free: 89.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002126/0.5698, allocations: 2.009 MB / 0.7501 GB, free: 87.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.619e-05/0.5699, allocations: 7.219 kB / 0.7502 GB, free: 87.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.00356/0.5734, allocations: 2.068 MB / 0.7522 GB, free: 87.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.5735, allocations: 19.53 kB / 0.7522 GB, free: 87.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.5735, allocations: 24.72 kB / 0.7522 GB, free: 87.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.5735, allocations: 35.41 kB / 0.7522 GB, free: 87.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.5749, allocations: 409.6 kB / 0.7526 GB, free: 87.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.296e-05/0.575, allocations: 53.17 kB / 0.7527 GB, free: 87.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.5765, allocations: 186.5 kB / 0.7529 GB, free: 87.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.5766, allocations: 85.8 kB / 0.7529 GB, free: 87.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.0003395/0.5769, allocations: 290.3 kB / 0.7532 GB, free: 86.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.5772, allocations: 108.4 kB / 0.7533 GB, free: 86.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.5787, allocations: 1.093 MB / 0.7544 GB, free: 86.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.5788, allocations: 8.594 kB / 0.7544 GB, free: 86.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.5788, allocations: 8.969 kB / 0.7544 GB, free: 86.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.5788, allocations: 6.141 kB / 0.7544 GB, free: 86.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.5908, allocations: 10.21 MB / 0.7644 GB, free: 82.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.5909, allocations: 14.88 kB / 0.7644 GB, free: 82.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.5915, allocations: 187.2 kB / 0.7646 GB, free: 82.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/0.5916, allocations: 20.41 kB / 0.7646 GB, free: 82.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.893e-05/0.5916, allocations: 33.12 kB / 0.7646 GB, free: 82.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.5917, allocations: 31.88 kB / 0.7647 GB, free: 82.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/0.5917, allocations: 24.41 kB / 0.7647 GB, free: 82.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.5934, allocations: 2.162 MB / 0.7668 GB, free: 80.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.5939, allocations: 330.5 kB / 0.7671 GB, free: 80.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.5941, allocations: 39.48 kB / 0.7671 GB, free: 80.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.5952, allocations: 113 kB / 0.7673 GB, free: 80.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5953, allocations: 105.7 kB / 0.7674 GB, free: 80.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.5953, allocations: 37.62 kB / 0.7674 GB, free: 80.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001122/0.5965, allocations: 0.8161 MB / 0.7682 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5965, allocations: 1.406 kB / 0.7682 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003058/0.5995, allocations: 0.7363 MB / 0.7689 GB, free: 79.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.001704/0.6012, allocations: 2.746 MB / 0.7716 GB, free: 77.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003459/0.6047, allocations: 2.617 MB / 0.7741 GB, free: 76.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.6047, allocations: 3.688 kB / 0.7742 GB, free: 76.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/0.6053, allocations: 0.569 MB / 0.7747 GB, free: 76.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.6071, allocations: 259.8 kB / 0.775 GB, free: 76.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.6223, allocations: 15.2 MB / 0.7898 GB, free: 61.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.6237, allocations: 2.013 MB / 0.7918 GB, free: 59.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001661/0.6253, allocations: 0.8791 MB / 0.7926 GB, free: 58.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007112/0.6261, allocations: 0.7336 MB / 0.7933 GB, free: 57.79 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.6261, allocations: 0 / 0.7933 GB, free: 57.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.6691, allocations: 29.92 MB / 0.8226 GB, free: 28.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/9.187, allocations: 15.84 kB / 0.8226 GB, free: 28.13 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_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_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)