Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0009986/0.0009987, allocations: 101.1 kB / 16.4 MB, free: 6.5 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.001026/0.001026, allocations: 192 kB / 17.34 MB, free: 5.723 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7785/0.7785, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.23 kB / 0.568 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 77.94 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01618/0.1558, allocations: 14.02 MB / 0.6578 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.1701, allocations: 9.392 MB / 0.6669 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.1717, allocations: 59.62 kB / 0.667 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004463/0.1762, allocations: 1.679 MB / 0.6686 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.1807, allocations: 1.575 MB / 0.6702 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.1826, allocations: 0.7591 MB / 0.6709 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003329/0.186, allocations: 2.524 MB / 0.6734 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.1878, allocations: 1.411 MB / 0.6748 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.1892, allocations: 1.074 MB / 0.6758 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.1905, allocations: 1.136 MB / 0.6769 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.1907, allocations: 164 kB / 0.6771 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.1921, allocations: 0.7916 MB / 0.6778 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005136/0.1926, allocations: 0.6154 MB / 0.6784 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008511/0.1935, allocations: 0.9484 MB / 0.6794 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.1961, allocations: 2.763 MB / 0.6821 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1961, allocations: 0 / 0.6821 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1961, allocations: 0 / 0.6821 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.279e-05/0.1961, allocations: 0 / 0.6821 GB, free: 2.492 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003603/0.1997, allocations: 2.187 MB / 0.6842 GB, free: 252 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1998, allocations: 12.56 kB / 0.6842 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002583/0.2, allocations: 194.4 kB / 0.6844 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.212, allocations: 2.106 MB / 0.6865 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.215, allocations: 1.299 MB / 0.6877 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.2151, allocations: 86.73 kB / 0.6878 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.2154, allocations: 127.9 kB / 0.6879 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006229/0.2217, allocations: 2.679 MB / 0.6905 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/0.2217, allocations: 7.938 kB / 0.6906 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.2219, allocations: 55.98 kB / 0.6906 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006753/0.2226, allocations: 182.1 kB / 0.6908 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007941/0.2305, allocations: 2.791 MB / 0.6935 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01622/0.2468, allocations: 10.49 MB / 0.7037 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/0.2542, allocations: 2.529 MB / 0.7062 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/0.2575, allocations: 1.28 MB / 0.7075 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.2576, allocations: 9 kB / 0.7075 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.2576, allocations: 47.55 kB / 0.7075 GB, free: 7.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.865e-06/0.2576, allocations: 0 / 0.7075 GB, free: 7.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04893/0.3066, allocations: 13.39 MB / 0.7206 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.3066, allocations: 72.72 kB / 0.7207 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.3084, allocations: 1.113 MB / 0.7218 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.3086, allocations: 49.64 kB / 0.7218 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/0.3091, allocations: 0.7365 MB / 0.7225 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005121/0.3096, allocations: 471.9 kB / 0.723 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005676/0.3102, allocations: 263.5 kB / 0.7232 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3104, allocations: 365.9 kB / 0.7236 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003588/0.314, allocations: 1.339 MB / 0.7249 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/0.3177, allocations: 1.608 MB / 0.7264 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007176/0.3249, allocations: 2.987 MB / 0.7294 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.3249, allocations: 4 kB / 0.7294 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01204/0.337, allocations: 4.448 MB / 0.7337 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.337, allocations: 11.94 kB / 0.7337 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.337, allocations: 4 kB / 0.7337 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005335/0.3424, allocations: 1.427 MB / 0.7351 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.3445, allocations: 443.1 kB / 0.7355 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.337/0.6815, allocations: 26.69 MB / 0.7616 GB, free: 79.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.6842, allocations: 304 kB / 0.7619 GB, free: 79.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.6844, allocations: 63.09 kB / 0.762 GB, free: 79.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009402/0.6854, allocations: 438.8 kB / 0.7624 GB, free: 79.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/0.6858, allocations: 169.4 kB / 0.7625 GB, free: 79.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.698, allocations: 4.453 MB / 0.7669 GB, free: 77.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.698, allocations: 13.31 kB / 0.7669 GB, free: 77.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/0.6981, allocations: 18.47 kB / 0.7669 GB, free: 77.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.6981, allocations: 6.859 kB / 0.7669 GB, free: 77.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.7129, allocations: 6.758 MB / 0.7735 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.713, allocations: 2.219 kB / 0.7735 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.7148, allocations: 380.4 kB / 0.7739 GB, free: 75.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004443/0.7192, allocations: 1.315 MB / 0.7752 GB, free: 74.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.7193, allocations: 44.59 kB / 0.7752 GB, free: 74.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/0.738, allocations: 25.51 MB / 0.8001 GB, free: 51.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.738, allocations: 160 / 0.8001 GB, free: 51.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009619/0.7477, allocations: 4.216 MB / 0.8042 GB, free: 49.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/0.7485, allocations: 460.9 kB / 0.8047 GB, free: 49.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.7488, allocations: 31.58 kB / 0.8047 GB, free: 49.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/0.7508, allocations: 303.9 kB / 0.805 GB, free: 48.97 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.7511, allocations: 137.4 kB / 0.8051 GB, free: 48.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.7513, allocations: 43.97 kB / 0.8052 GB, free: 48.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007975/0.7521, allocations: 0.7565 MB / 0.8059 GB, free: 48.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7521, allocations: 0 / 0.8059 GB, free: 48.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001818/0.7539, allocations: 0.5664 MB / 0.8065 GB, free: 47.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009723/0.7636, allocations: 4.805 MB / 0.8112 GB, free: 42.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009609/0.7732, allocations: 5.145 MB / 0.8162 GB, free: 37.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7733, allocations: 0 / 0.8162 GB, free: 37.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005797/0.7791, allocations: 3.505 MB / 0.8196 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.7815, allocations: 0.549 MB / 0.8201 GB, free: 33.08 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03366/0.8151, allocations: 19.4 MB / 0.8391 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/0.816, allocations: 1.481 MB / 0.8405 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001262/0.8172, allocations: 425.8 kB / 0.8409 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007078/0.818, allocations: 0.6281 MB / 0.8416 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.818, allocations: 0 / 0.8416 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/0.9276, allocations: 51.65 MB / 0.892 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.13/19.06, allocations: 10.52 kB / 0.892 GB, free: 7.637 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)