Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.01012/0.01012, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001876/0.001876, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 295 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 92.09 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1729, allocations: 86.98 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.3612/0.5341, allocations: 41.17 MB / 0.8061 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02755/0.5617, allocations: 15.08 MB / 0.8209 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00543/0.5671, allocations: 191.2 kB / 0.821 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01263/0.5798, allocations: 4.463 MB / 0.8254 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.5905, allocations: 2.794 MB / 0.8281 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009689/0.6003, allocations: 3.163 MB / 0.8312 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01816/0.6184, allocations: 11.4 MB / 0.8423 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01785/0.6363, allocations: 12.48 MB / 0.8545 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009295/0.6457, allocations: 4.81 MB / 0.8592 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00955/0.6552, allocations: 5.39 MB / 0.8645 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002492/0.6578, allocations: 0.953 MB / 0.8654 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/0.6632, allocations: 2.033 MB / 0.8674 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00498/0.6682, allocations: 3.696 MB / 0.871 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007706/0.6759, allocations: 4.307 MB / 0.8752 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01993/0.6959, allocations: 14.31 MB / 0.8892 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6959, allocations: 0 / 0.8892 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.865e-06/0.6959, allocations: 0 / 0.8892 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003917/0.6963, allocations: 0 / 0.8892 GB, free: 5.789 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02032/0.7167, allocations: 7.79 MB / 0.8968 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7167, allocations: 12.03 kB / 0.8968 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002108/0.7188, allocations: 0.8955 MB / 0.8977 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.7298, allocations: 1.554 MB / 0.8992 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009388/0.7392, allocations: 4.47 MB / 0.9036 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003836/0.7396, allocations: 460.4 kB / 0.904 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.7414, allocations: 0.5901 MB / 0.9046 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/0.7634, allocations: 10.69 MB / 0.915 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001725/0.7636, allocations: 27.72 kB / 0.915 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007904/0.7644, allocations: 263.9 kB / 0.9153 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002898/0.7673, allocations: 0.7729 MB / 0.9161 GB, free: 9.715 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/0.7861, allocations: 8.565 MB / 0.9244 GB, free: 1.129 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06634/0.8525, allocations: 46.61 MB / 0.9699 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00693/0.8595, allocations: 4.319 MB / 0.9741 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005853/0.8654, allocations: 3.709 MB / 0.9778 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/0.8657, allocations: 34.78 kB / 0.9778 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.443e-05/0.8658, allocations: 77.34 kB / 0.9779 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 5.18e-06/0.8658, allocations: 0 / 0.9779 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.9363/1.802, allocations: 122.9 MB / 1.098 GB, free: 267.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/1.802, allocations: 114.8 kB / 1.098 GB, free: 267.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/1.807, allocations: 2.685 MB / 1.101 GB, free: 266.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001107/1.808, allocations: 119.3 kB / 1.101 GB, free: 266 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/1.809, allocations: 2.756 MB / 1.103 GB, free: 265.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00238/1.812, allocations: 2.048 MB / 1.105 GB, free: 263.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/1.814, allocations: 0.9235 MB / 1.106 GB, free: 263.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.468e-05/1.814, allocations: 306.1 kB / 1.107 GB, free: 263.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00601/1.82, allocations: 4.079 MB / 1.111 GB, free: 261.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007764/1.828, allocations: 5.012 MB / 1.116 GB, free: 258.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/1.843, allocations: 9.849 MB / 1.125 GB, free: 253.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.909e-05/1.843, allocations: 10.84 kB / 1.125 GB, free: 253.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04376/1.887, allocations: 17.01 MB / 1.142 GB, free: 246.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.887, allocations: 15.69 kB / 1.142 GB, free: 246.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-05/1.887, allocations: 23.09 kB / 1.142 GB, free: 246.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0332/1.92, allocations: 9.09 MB / 1.151 GB, free: 244.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/1.923, allocations: 0.5241 MB / 1.151 GB, free: 244.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09614/2.019, allocations: 77.03 MB / 1.226 GB, free: 176.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006015/2.025, allocations: 283.8 kB / 1.227 GB, free: 176.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/2.027, allocations: 192 kB / 1.227 GB, free: 175.9 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005939/2.033, allocations: 2.432 MB / 1.229 GB, free: 173.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/2.035, allocations: 493 kB / 1.23 GB, free: 173 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03801/2.073, allocations: 16.81 MB / 1.246 GB, free: 156 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/2.073, allocations: 56.94 kB / 1.246 GB, free: 156 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002431/2.073, allocations: 76 kB / 1.246 GB, free: 155.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001411/2.073, allocations: 31.83 kB / 1.246 GB, free: 155.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05472/2.128, allocations: 25.66 MB / 1.271 GB, free: 130 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.608e-05/2.128, allocations: 11.94 kB / 1.271 GB, free: 130 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/2.13, allocations: 311.6 kB / 1.272 GB, free: 129.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02729/2.157, allocations: 8.27 MB / 1.28 GB, free: 121.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001367/2.158, allocations: 111.9 kB / 1.28 GB, free: 121.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.086/2.244, allocations: 73.91 MB / 1.352 GB, free: 45.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/2.244, allocations: 11.94 kB / 1.352 GB, free: 45.83 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03982/2.284, allocations: 21.59 MB / 1.373 GB, free: 23.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003816/2.288, allocations: 1.373 MB / 1.374 GB, free: 22.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/2.29, allocations: 112 kB / 1.375 GB, free: 22.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00451/2.295, allocations: 283.6 kB / 1.375 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00238/2.297, allocations: 0.5221 MB / 1.375 GB, free: 21.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008831/2.298, allocations: 148 kB / 1.375 GB, free: 21.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003249/2.301, allocations: 1.78 MB / 1.377 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/2.301, allocations: 0 / 1.377 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.01004/2.311, allocations: 2.465 MB / 1.38 GB, free: 17.2 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04377/2.355, allocations: 22.3 MB / 1.401 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.03529/2.391, allocations: 14.57 MB / 1.416 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.022e-05/2.391, allocations: 8.125 kB / 1.416 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.03551/2.426, allocations: 9.392 MB / 1.425 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01282/2.439, allocations: 1.372 MB / 1.426 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4898/2.929, allocations: 70.4 MB / 1.495 GB, free: 254 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007238/2.936, allocations: 4.894 MB / 1.5 GB, free: 252.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002859/2.939, allocations: 0.7471 MB / 1.5 GB, free: 252.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002677/2.942, allocations: 2.612 MB / 1.503 GB, free: 250 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/2.942, allocations: 0 / 1.503 GB, free: 250 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2649/3.207, allocations: 196.5 MB / 1.695 GB, free: 63.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.68/24.89, allocations: 19.5 kB / 1.695 GB, free: 63.87 MB / 0.8731 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_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_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)