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.001082/0.001082, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 299 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9436/0.9436, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 94.39 kB / 0.5954 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1495, allocations: 86.99 MB / 0.6803 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03702/0.1865, allocations: 37.57 MB / 0.717 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.2064, allocations: 13.04 MB / 0.7297 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/0.2097, allocations: 171.1 kB / 0.7299 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009024/0.2188, allocations: 3.875 MB / 0.7337 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.2251, allocations: 2.499 MB / 0.7361 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006232/0.2314, allocations: 2.701 MB / 0.7388 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01021/0.2416, allocations: 9.575 MB / 0.7481 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01471/0.2564, allocations: 10.63 MB / 0.7585 GB, free: 168 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006157/0.2626, allocations: 3.977 MB / 0.7624 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006589/0.2692, allocations: 4.385 MB / 0.7667 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002102/0.2713, allocations: 0.7695 MB / 0.7674 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004392/0.2757, allocations: 1.779 MB / 0.7691 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004009/0.2797, allocations: 3.033 MB / 0.7721 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.2853/0.5651, allocations: 3.574 MB / 0.7756 GB, free: 32.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.5789, allocations: 11.77 MB / 0.7871 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5789, allocations: 5.969 kB / 0.7871 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5789, allocations: 0 / 0.7871 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003162/0.5793, allocations: 0 / 0.7871 GB, free: 31.95 MB / 0.5606 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.01623/0.5955, allocations: 6.363 MB / 0.7933 GB, free: 29.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.5956, allocations: 9.781 kB / 0.7933 GB, free: 29.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001321/0.5969, allocations: 0.7477 MB / 0.794 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007939/0.6048, allocations: 1.31 MB / 0.7953 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006144/0.611, allocations: 3.562 MB / 0.7988 GB, free: 28.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.6112, allocations: 381 kB / 0.7992 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.6124, allocations: 0.4968 MB / 0.7997 GB, free: 28.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01981/0.6322, allocations: 8.885 MB / 0.8083 GB, free: 27.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/0.6325, allocations: 28.61 kB / 0.8084 GB, free: 27.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007746/0.6332, allocations: 226.9 kB / 0.8086 GB, free: 27.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002441/0.6357, allocations: 0.6321 MB / 0.8092 GB, free: 27.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.6489, allocations: 7.012 MB / 0.816 GB, free: 25.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04529/0.6942, allocations: 40.32 MB / 0.8554 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/0.6986, allocations: 2.896 MB / 0.8582 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003654/0.7022, allocations: 2.663 MB / 0.8608 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.7025, allocations: 36 kB / 0.8609 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/0.7026, allocations: 68.34 kB / 0.8609 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 4.749e-06/0.7026, allocations: 0 / 0.8609 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.3109/1.014, allocations: 74.72 MB / 0.9339 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/1.014, allocations: 102 kB / 0.934 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/1.017, allocations: 2.352 MB / 0.9363 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0008733/1.018, allocations: 97.7 kB / 0.9364 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.02, allocations: 2.339 MB / 0.9387 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002046/1.022, allocations: 1.438 MB / 0.9401 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002174/1.024, allocations: 0.7247 MB / 0.9408 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/1.024, allocations: 305.1 kB / 0.9411 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004331/1.028, allocations: 3.003 MB / 0.944 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004899/1.033, allocations: 3.845 MB / 0.9478 GB, free: 13.06 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/1.044, allocations: 7.38 MB / 0.955 GB, free: 5.449 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.651e-05/1.044, allocations: 8 kB / 0.955 GB, free: 5.441 MB / 0.67 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03261/1.076, allocations: 12.56 MB / 0.9672 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/1.076, allocations: 16 kB / 0.9673 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.561e-05/1.076, allocations: 24.09 kB / 0.9673 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02348/1.1, allocations: 6.064 MB / 0.9732 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/1.102, allocations: 495.1 kB / 0.9737 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08424/1.187, allocations: 73.04 MB / 1.045 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004389/1.191, allocations: 218.4 kB / 1.045 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008231/1.192, allocations: 156 kB / 1.045 GB, free: 6.031 MB / 0.7637 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.003983/1.196, allocations: 1.989 MB / 1.047 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.197, allocations: 387.4 kB / 1.048 GB, free: 3.684 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02815/1.225, allocations: 12.24 MB / 1.06 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/1.225, allocations: 40.14 kB / 1.06 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/1.225, allocations: 51.94 kB / 1.06 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-05/1.225, allocations: 23.91 kB / 1.06 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3217/1.547, allocations: 19.14 MB / 1.078 GB, free: 281.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/1.547, allocations: 7 kB / 1.078 GB, free: 281.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.549, allocations: 287.4 kB / 1.079 GB, free: 281.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02063/1.569, allocations: 5.622 MB / 1.084 GB, free: 280.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005691/1.57, allocations: 81.5 kB / 1.084 GB, free: 280.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06591/1.636, allocations: 70.67 MB / 1.153 GB, free: 231.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/1.636, allocations: 8.406 kB / 1.153 GB, free: 231.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02747/1.663, allocations: 15.62 MB / 1.169 GB, free: 216 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003085/1.667, allocations: 1.044 MB / 1.17 GB, free: 214.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008026/1.667, allocations: 85.2 kB / 1.17 GB, free: 214.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002706/1.67, allocations: 215.7 kB / 1.17 GB, free: 214.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/1.672, allocations: 406.2 kB / 1.17 GB, free: 214.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/1.672, allocations: 112 kB / 1.17 GB, free: 214.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002053/1.674, allocations: 1.553 MB / 1.172 GB, free: 212.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/1.674, allocations: 0 / 1.172 GB, free: 212.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006695/1.681, allocations: 1.859 MB / 1.174 GB, free: 210.7 MB / 0.7794 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.02756/1.708, allocations: 16.3 MB / 1.19 GB, free: 194.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02321/1.731, allocations: 14.98 MB / 1.204 GB, free: 179 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.732, allocations: 4 kB / 1.204 GB, free: 179 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01314/1.745, allocations: 8.348 MB / 1.212 GB, free: 170.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007006/1.752, allocations: 1.196 MB / 1.214 GB, free: 169.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0956/1.847, allocations: 60.32 MB / 1.272 GB, free: 104.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004881/1.852, allocations: 4.087 MB / 1.276 GB, free: 100.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002279/1.855, allocations: 0.6708 MB / 1.277 GB, free: 99.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/1.857, allocations: 2.132 MB / 1.279 GB, free: 97.86 MB / 0.7794 GB Notification: Performance of SimCode: time 7.41e-07/1.857, allocations: 4 kB / 1.279 GB, free: 97.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4945/2.351, allocations: 151.6 MB / 1.427 GB, free: 254 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/14.53, allocations: 9.797 kB / 1.427 GB, free: 254 MB / 0.7794 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)