Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.007438/0.007438, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.00189/0.00189, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002487/0.002487, allocations: 283 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002782, allocations: 99.86 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1715, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.3676/0.5391, allocations: 37.58 MB / 0.8026 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02389/0.563, allocations: 13.05 MB / 0.8154 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004527/0.5676, allocations: 170.8 kB / 0.8155 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01102/0.5786, allocations: 3.877 MB / 0.8193 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008053/0.5867, allocations: 2.485 MB / 0.8217 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007692/0.5944, allocations: 2.711 MB / 0.8244 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01577/0.6102, allocations: 9.581 MB / 0.8337 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01641/0.6267, allocations: 10.5 MB / 0.844 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007291/0.634, allocations: 3.986 MB / 0.8479 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008037/0.6421, allocations: 4.384 MB / 0.8522 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002331/0.6444, allocations: 0.7695 MB / 0.8529 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005735/0.6502, allocations: 1.783 MB / 0.8547 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005226/0.6554, allocations: 3.033 MB / 0.8576 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007748/0.6632, allocations: 3.587 MB / 0.8611 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01822/0.6815, allocations: 11.88 MB / 0.8727 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6815, allocations: 4 kB / 0.8727 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6815, allocations: 0 / 0.8727 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003772/0.6819, allocations: 0 / 0.8727 GB, free: 6.605 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01978/0.7017, allocations: 6.522 MB / 0.8791 GB, free: 0 / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.7018, allocations: 8.078 kB / 0.8791 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002374/0.7042, allocations: 0.7479 MB / 0.8798 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009184/0.7134, allocations: 1.332 MB / 0.8811 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008363/0.7218, allocations: 3.809 MB / 0.8849 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004417/0.7223, allocations: 382.5 kB / 0.8852 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/0.7248, allocations: 0.5002 MB / 0.8857 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.746, allocations: 8.89 MB / 0.8944 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.7462, allocations: 31.77 kB / 0.8944 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006016/0.7468, allocations: 219.9 kB / 0.8946 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.749, allocations: 0.6303 MB / 0.8953 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.7628, allocations: 7.014 MB / 0.9021 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05849/0.8213, allocations: 40.12 MB / 0.9413 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004691/0.8261, allocations: 2.89 MB / 0.9441 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/0.8302, allocations: 2.663 MB / 0.9467 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.8305, allocations: 30.09 kB / 0.9467 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.627e-05/0.8306, allocations: 64.59 kB / 0.9468 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=265): time 4.158e-06/0.8306, allocations: 0 / 0.9468 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of matching and sorting (n=424): time 0.3095/1.14, allocations: 74.79 MB / 1.02 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/1.14, allocations: 94.73 kB / 1.02 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/1.144, allocations: 2.363 MB / 1.022 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007727/1.144, allocations: 97.7 kB / 1.022 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00184/1.146, allocations: 2.399 MB / 1.025 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.00197/1.148, allocations: 1.506 MB / 1.026 GB, free: 5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/1.15, allocations: 0.7217 MB / 1.027 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.15, allocations: 309.1 kB / 1.027 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004775/1.155, allocations: 2.999 MB / 1.03 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005549/1.16, allocations: 3.839 MB / 1.034 GB, free: 12.78 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.172, allocations: 7.384 MB / 1.041 GB, free: 5.074 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/1.172, allocations: 8 kB / 1.041 GB, free: 5.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03055/1.202, allocations: 12.57 MB / 1.053 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/1.202, allocations: 19.98 kB / 1.053 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.713e-05/1.202, allocations: 20 kB / 1.053 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0235/1.226, allocations: 6.032 MB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/1.228, allocations: 491.2 kB / 1.06 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3855/1.614, allocations: 73.03 MB / 1.131 GB, free: 238.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/1.618, allocations: 215.5 kB / 1.131 GB, free: 238.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/1.619, allocations: 154.6 kB / 1.131 GB, free: 238.2 MB / 0.8419 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003238/1.622, allocations: 1.994 MB / 1.133 GB, free: 237.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008168/1.623, allocations: 413 kB / 1.134 GB, free: 237.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/1.65, allocations: 12.24 MB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/1.65, allocations: 43.09 kB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001575/1.65, allocations: 47.75 kB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.988e-05/1.65, allocations: 20.05 kB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03606/1.686, allocations: 19.13 MB / 1.164 GB, free: 224.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.674e-05/1.687, allocations: 15.53 kB / 1.164 GB, free: 224.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/1.688, allocations: 288.1 kB / 1.165 GB, free: 224.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01954/1.708, allocations: 5.572 MB / 1.17 GB, free: 223.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008498/1.709, allocations: 82.47 kB / 1.17 GB, free: 223.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06609/1.775, allocations: 70.67 MB / 1.239 GB, free: 156.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.775, allocations: 11.94 kB / 1.239 GB, free: 156.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02694/1.802, allocations: 15.65 MB / 1.255 GB, free: 140.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002581/1.804, allocations: 1.057 MB / 1.256 GB, free: 139.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009667/1.805, allocations: 82.11 kB / 1.256 GB, free: 139.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/1.808, allocations: 219.7 kB / 1.256 GB, free: 139.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001421/1.81, allocations: 406.3 kB / 1.256 GB, free: 139.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003821/1.81, allocations: 108 kB / 1.256 GB, free: 139 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002058/1.812, allocations: 1.553 MB / 1.258 GB, free: 137.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.812, allocations: 0 / 1.258 GB, free: 137.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006854/1.819, allocations: 1.863 MB / 1.26 GB, free: 135.6 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02751/1.847, allocations: 16.31 MB / 1.276 GB, free: 119.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01925/1.866, allocations: 12.24 MB / 1.288 GB, free: 106.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.866, allocations: 0 / 1.288 GB, free: 106.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01329/1.879, allocations: 8.385 MB / 1.296 GB, free: 97.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/1.885, allocations: 1.195 MB / 1.297 GB, free: 96.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09391/1.979, allocations: 54.05 MB / 1.35 GB, free: 41.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005161/1.984, allocations: 4.091 MB / 1.354 GB, free: 37.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002144/1.986, allocations: 0.6669 MB / 1.354 GB, free: 36.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002246/1.989, allocations: 2.128 MB / 1.356 GB, free: 34.23 MB / 0.8419 GB Notification: Performance of SimCode: time 9.61e-07/1.989, allocations: 0 / 1.356 GB, free: 34.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6622/2.651, allocations: 151 MB / 1.504 GB, free: 247.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/21.52, allocations: 3.469 kB / 1.504 GB, free: 247.4 MB / 0.8731 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)