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.001392/0.001392, 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.00146/0.00146, allocations: 194.1 kB / 16.53 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002609/0.002609, allocations: 287 kB / 290.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.124/1.124, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003393/0.003393, allocations: 98.44 kB / 0.6066 GB, free: 24.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1617, allocations: 89.14 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.05284/0.2146, allocations: 37.59 MB / 0.7303 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02356/0.2382, allocations: 13.03 MB / 0.743 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004769/0.243, allocations: 171.1 kB / 0.7432 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.2539, allocations: 3.883 MB / 0.747 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008059/0.262, allocations: 2.491 MB / 0.7494 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008608/0.2707, allocations: 2.715 MB / 0.7521 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3246/0.5953, allocations: 9.565 MB / 0.7614 GB, free: 17.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/0.6091, allocations: 10.63 MB / 0.7718 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006547/0.6157, allocations: 3.979 MB / 0.7757 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008776/0.6245, allocations: 4.374 MB / 0.78 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003044/0.6276, allocations: 0.7742 MB / 0.7807 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006113/0.6337, allocations: 1.782 MB / 0.7824 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005573/0.6393, allocations: 3.029 MB / 0.7854 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008445/0.6478, allocations: 3.577 MB / 0.7889 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01579/0.6636, allocations: 11.79 MB / 0.8004 GB, free: 11.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.6637, allocations: 0 / 0.8004 GB, free: 11.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6637, allocations: 0 / 0.8004 GB, free: 11.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003585/0.664, allocations: 5.656 kB / 0.8004 GB, free: 11.91 MB / 0.545 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.02096/0.685, allocations: 6.354 MB / 0.8066 GB, free: 7.848 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6851, allocations: 9.469 kB / 0.8066 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002636/0.6877, allocations: 0.7513 MB / 0.8074 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009149/0.6969, allocations: 1.299 MB / 0.8086 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008256/0.7052, allocations: 3.571 MB / 0.8121 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.7055, allocations: 382.2 kB / 0.8125 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.708, allocations: 0.4929 MB / 0.813 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.7275, allocations: 8.892 MB / 0.8216 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002334/0.7278, allocations: 32.72 kB / 0.8217 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001993/0.7298, allocations: 221.1 kB / 0.8219 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002468/0.7323, allocations: 0.6306 MB / 0.8225 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.7507, allocations: 7.02 MB / 0.8294 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06032/0.811, allocations: 40.31 MB / 0.8687 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004931/0.816, allocations: 2.894 MB / 0.8716 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004633/0.8207, allocations: 2.667 MB / 0.8742 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/0.821, allocations: 34.09 kB / 0.8742 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.878e-05/0.8211, allocations: 68.59 kB / 0.8743 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=265): time 5.981e-06/0.8211, allocations: 4 kB / 0.8743 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=424): time 0.3356/1.157, allocations: 74.71 MB / 0.9472 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/1.157, allocations: 98.73 kB / 0.9473 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004522/1.161, allocations: 2.355 MB / 0.9496 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009428/1.162, allocations: 97.7 kB / 0.9497 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001996/1.164, allocations: 2.335 MB / 0.952 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002191/1.167, allocations: 1.444 MB / 0.9534 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002589/1.169, allocations: 0.7215 MB / 0.9541 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.169, allocations: 305.1 kB / 0.9544 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005651/1.175, allocations: 2.999 MB / 0.9573 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00619/1.181, allocations: 3.843 MB / 0.9611 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/1.194, allocations: 7.394 MB / 0.9683 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/1.194, allocations: 4 kB / 0.9683 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03437/1.228, allocations: 12.55 MB / 0.9806 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/1.228, allocations: 12.22 kB / 0.9806 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.35e-05/1.228, allocations: 28 kB / 0.9806 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02489/1.253, allocations: 6.071 MB / 0.9865 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/1.256, allocations: 496.4 kB / 0.987 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3569/1.613, allocations: 73.02 MB / 1.058 GB, free: 258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005135/1.618, allocations: 216.8 kB / 1.059 GB, free: 258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007609/1.618, allocations: 155.3 kB / 1.059 GB, free: 258 MB / 0.7794 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.004404/1.623, allocations: 1.997 MB / 1.061 GB, free: 257.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.624, allocations: 390.4 kB / 1.061 GB, free: 257.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0289/1.653, allocations: 12.24 MB / 1.073 GB, free: 257.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-05/1.653, allocations: 45.5 kB / 1.073 GB, free: 257.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000204/1.653, allocations: 47.66 kB / 1.073 GB, free: 257.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001131/1.653, allocations: 20.67 kB / 1.073 GB, free: 257.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04297/1.696, allocations: 19.15 MB / 1.092 GB, free: 249.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/1.696, allocations: 6 kB / 1.092 GB, free: 249.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/1.698, allocations: 283.4 kB / 1.092 GB, free: 249.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01958/1.718, allocations: 5.63 MB / 1.098 GB, free: 248.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/1.719, allocations: 82.16 kB / 1.098 GB, free: 248.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06612/1.785, allocations: 70.66 MB / 1.167 GB, free: 191.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.785, allocations: 11.94 kB / 1.167 GB, free: 191.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02877/1.814, allocations: 15.62 MB / 1.182 GB, free: 176 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002788/1.816, allocations: 1.043 MB / 1.183 GB, free: 174.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.818, allocations: 83.91 kB / 1.183 GB, free: 174.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/1.821, allocations: 223.7 kB / 1.183 GB, free: 174.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/1.822, allocations: 402.2 kB / 1.184 GB, free: 174.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.822, allocations: 108 kB / 1.184 GB, free: 174.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001888/1.824, allocations: 1.556 MB / 1.185 GB, free: 172.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/1.824, allocations: 0 / 1.185 GB, free: 172.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006198/1.83, allocations: 1.859 MB / 1.187 GB, free: 170.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.02738/1.858, allocations: 16.29 MB / 1.203 GB, free: 154.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02429/1.882, allocations: 14.98 MB / 1.218 GB, free: 138.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/1.882, allocations: 4 kB / 1.218 GB, free: 138.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01406/1.896, allocations: 8.357 MB / 1.226 GB, free: 130.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006902/1.903, allocations: 1.2 MB / 1.227 GB, free: 129.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1022/2.005, allocations: 60.32 MB / 1.286 GB, free: 64.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004619/2.01, allocations: 4.087 MB / 1.29 GB, free: 60.58 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002385/2.012, allocations: 0.6708 MB / 1.29 GB, free: 59.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/2.015, allocations: 2.132 MB / 1.293 GB, free: 57.77 MB / 0.7794 GB Notification: Performance of SimCode: time 1.083e-06/2.015, allocations: 4 kB / 1.293 GB, free: 57.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5694/2.584, allocations: 151.6 MB / 1.441 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/15.81, allocations: 27.14 kB / 1.441 GB, free: 212.3 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)