Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001216/0.001216, allocations: 104.6 kB / 16.4 MB, free: 6.336 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.001191/0.001191, allocations: 191.6 kB / 17.33 MB, free: 5.816 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7967/0.7967, allocations: 122.9 MB / 414 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.81 kB / 0.568 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1387, allocations: 77.92 MB / 0.6441 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03786/0.1766, allocations: 35.11 MB / 0.6784 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.1959, allocations: 9.937 MB / 0.6881 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003655/0.1996, allocations: 147.2 kB / 0.6882 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009523/0.2092, allocations: 3.81 MB / 0.6919 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005578/0.2148, allocations: 2.146 MB / 0.694 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004948/0.2197, allocations: 1.962 MB / 0.6959 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0107/0.2305, allocations: 7.99 MB / 0.7037 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01669/0.2472, allocations: 9.514 MB / 0.713 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007735/0.255, allocations: 3.431 MB / 0.7164 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006094/0.2611, allocations: 3.73 MB / 0.72 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001957/0.2631, allocations: 0.6797 MB / 0.7207 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.2669, allocations: 1.443 MB / 0.7221 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003569/0.2704, allocations: 2.62 MB / 0.7246 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005421/0.2759, allocations: 3.108 MB / 0.7277 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.2871, allocations: 10.41 MB / 0.7378 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2871, allocations: 0 / 0.7378 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2871, allocations: 0 / 0.7378 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002363/0.2874, allocations: 0 / 0.7378 GB, free: 9.156 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01109/0.2985, allocations: 5.538 MB / 0.7433 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2985, allocations: 12.62 kB / 0.7433 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001026/0.2996, allocations: 0.6984 MB / 0.744 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/0.3044, allocations: 0.9889 MB / 0.7449 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3438/0.6483, allocations: 3.195 MB / 0.748 GB, free: 88.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.6486, allocations: 358.5 kB / 0.7484 GB, free: 88.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.6503, allocations: 467.4 kB / 0.7488 GB, free: 88.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.6685, allocations: 7.907 MB / 0.7565 GB, free: 85.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.6687, allocations: 24.98 kB / 0.7566 GB, free: 85.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006238/0.6693, allocations: 206.9 kB / 0.7568 GB, free: 84.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006322/0.67, allocations: 368.2 kB / 0.7571 GB, free: 84.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/0.6833, allocations: 5.944 MB / 0.7629 GB, free: 82.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03218/0.7155, allocations: 36 MB / 0.7981 GB, free: 50.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.7183, allocations: 2.139 MB / 0.8002 GB, free: 49.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.7199, allocations: 1.482 MB / 0.8016 GB, free: 48.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.497e-05/0.72, allocations: 18.81 kB / 0.8016 GB, free: 48.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.7201, allocations: 57.28 kB / 0.8017 GB, free: 48.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 3.297e-06/0.7201, allocations: 3.938 kB / 0.8017 GB, free: 48.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01131/0.7314, allocations: 7.606 MB / 0.8091 GB, free: 40.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.7315, allocations: 68.72 kB / 0.8092 GB, free: 40.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.7334, allocations: 1.865 MB / 0.811 GB, free: 38.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.7336, allocations: 53.7 kB / 0.8111 GB, free: 38.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008346/0.7344, allocations: 2.188 MB / 0.8132 GB, free: 36.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.7347, allocations: 0.5881 MB / 0.8138 GB, free: 36.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004926/0.7352, allocations: 400 kB / 0.8142 GB, free: 35.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.7353, allocations: 301.1 kB / 0.8144 GB, free: 35.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.7365, allocations: 1.066 MB / 0.8155 GB, free: 34.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.738, allocations: 1.756 MB / 0.8172 GB, free: 32.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.7408, allocations: 3.053 MB / 0.8202 GB, free: 29.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.7408, allocations: 4 kB / 0.8202 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005212/0.7461, allocations: 3.941 MB / 0.824 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.7461, allocations: 12.66 kB / 0.824 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.7461, allocations: 27.98 kB / 0.8241 GB, free: 25.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/0.7482, allocations: 0.9312 MB / 0.825 GB, free: 24.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.7496, allocations: 419.3 kB / 0.8254 GB, free: 23.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.7644, allocations: 22.78 MB / 0.8476 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.7668, allocations: 123.9 kB / 0.8477 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.767, allocations: 92 kB / 0.8478 GB, free: 15.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002979/0.77, allocations: 1.648 MB / 0.8494 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/0.7704, allocations: 270.3 kB / 0.8497 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00533/0.7757, allocations: 3.271 MB / 0.8529 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.7757, allocations: 16 kB / 0.8529 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.7758, allocations: 8 kB / 0.8529 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.7758, allocations: 7.969 kB / 0.8529 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.7875, allocations: 7.553 MB / 0.8603 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.7875, allocations: 4.562 kB / 0.8603 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009292/0.7885, allocations: 219.6 kB / 0.8605 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/0.7908, allocations: 0.892 MB / 0.8614 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.7909, allocations: 32 kB / 0.8614 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02028/0.8112, allocations: 22.75 MB / 0.8836 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.8112, allocations: 7.984 kB / 0.8836 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005579/0.8168, allocations: 3.388 MB / 0.8869 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.818, allocations: 0.5422 MB / 0.8875 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000311/0.8183, allocations: 39.64 kB / 0.8875 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.8194, allocations: 87.89 kB / 0.8876 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/0.8198, allocations: 141 kB / 0.8877 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/0.8199, allocations: 48.12 kB / 0.8878 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001581/0.8215, allocations: 1.221 MB / 0.889 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8215, allocations: 0 / 0.889 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002627/0.8241, allocations: 0.9062 MB / 0.8899 GB, free: 2.047 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005331/0.8295, allocations: 4 MB / 0.8938 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006324/0.8358, allocations: 4.444 MB / 0.8981 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.8358, allocations: 7.938 kB / 0.8981 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004044/0.8399, allocations: 2.995 MB / 0.901 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/0.8435, allocations: 0.815 MB / 0.9018 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/0.8807, allocations: 25.19 MB / 0.9264 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003341/0.8841, allocations: 3.201 MB / 0.9296 GB, free: 7.863 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001894/0.886, allocations: 0.5254 MB / 0.9301 GB, free: 7.332 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/0.8879, allocations: 1.655 MB / 0.9317 GB, free: 5.676 MB / 0.67 GB Notification: Performance of SimCode: time 3.236e-06/0.8879, allocations: 0 / 0.9317 GB, free: 5.676 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/1.019, allocations: 70.24 MB / 1 GB, free: 296 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.16, allocations: 11.75 kB / 1 GB, free: 288 kB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)