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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001594/0.001594, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 282.7 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9199/0.9199, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 94.42 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.154, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.2897/0.4438, allocations: 41.17 MB / 0.7218 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02617/0.47, allocations: 15.08 MB / 0.7365 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004657/0.4747, allocations: 187.8 kB / 0.7367 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.4855, allocations: 4.467 MB / 0.7411 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007763/0.4933, allocations: 2.801 MB / 0.7438 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007455/0.5008, allocations: 3.156 MB / 0.7469 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01264/0.5134, allocations: 11.4 MB / 0.758 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.527, allocations: 12.47 MB / 0.7702 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006686/0.5337, allocations: 4.814 MB / 0.7749 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006664/0.5404, allocations: 5.401 MB / 0.7802 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.5417, allocations: 0.9492 MB / 0.7811 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.5454, allocations: 2.036 MB / 0.7831 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003049/0.5484, allocations: 3.695 MB / 0.7867 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004574/0.553, allocations: 4.299 MB / 0.7909 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.565, allocations: 14.27 MB / 0.8048 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.5651, allocations: 3.984 kB / 0.8048 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5651, allocations: 4 kB / 0.8048 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002724/0.5654, allocations: 0 / 0.8048 GB, free: 1.219 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01623/0.5816, allocations: 7.6 MB / 0.8123 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5817, allocations: 8.031 kB / 0.8123 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008997/0.5907, allocations: 1.522 MB / 0.8138 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009361/0.6, allocations: 4.439 MB / 0.8181 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.6003, allocations: 456.5 kB / 0.8185 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001231/0.6016, allocations: 0.5939 MB / 0.8191 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.6183, allocations: 10.69 MB / 0.8296 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/0.6185, allocations: 31.7 kB / 0.8296 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006593/0.6192, allocations: 267.9 kB / 0.8298 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002467/0.6216, allocations: 0.7729 MB / 0.8306 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/0.6367, allocations: 8.561 MB / 0.839 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0614/0.6982, allocations: 46.52 MB / 0.8844 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006043/0.7043, allocations: 4.316 MB / 0.8886 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005154/0.7094, allocations: 3.697 MB / 0.8922 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/0.7098, allocations: 34.78 kB / 0.8922 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/0.7098, allocations: 77.34 kB / 0.8923 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=353): time 5.029e-06/0.7098, allocations: 0 / 0.8923 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of matching and sorting (n=578): time 0.752/1.462, allocations: 122.7 MB / 1.012 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.462, allocations: 111.9 kB / 1.012 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/1.465, allocations: 2.681 MB / 1.015 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008645/1.466, allocations: 121.7 kB / 1.015 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009689/1.467, allocations: 2.678 MB / 1.018 GB, free: 166.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/1.468, allocations: 1.954 MB / 1.02 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001884/1.47, allocations: 0.9248 MB / 1.02 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.564e-05/1.47, allocations: 301.1 kB / 1.021 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/1.475, allocations: 4.079 MB / 1.025 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004982/1.48, allocations: 5.017 MB / 1.03 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/1.49, allocations: 9.858 MB / 1.039 GB, free: 144 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/1.49, allocations: 6.297 kB / 1.039 GB, free: 144 MB / 0.7169 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03258/1.523, allocations: 16.99 MB / 1.056 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/1.523, allocations: 19.31 kB / 1.056 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/1.523, allocations: 26.5 kB / 1.056 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02805/1.551, allocations: 9.084 MB / 1.065 GB, free: 118.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/1.553, allocations: 0.5243 MB / 1.065 GB, free: 117.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08572/1.639, allocations: 76.95 MB / 1.14 GB, free: 39.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004834/1.644, allocations: 294.8 kB / 1.141 GB, free: 38.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006822/1.645, allocations: 188 kB / 1.141 GB, free: 38.77 MB / 0.7169 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.003522/1.648, allocations: 2.42 MB / 1.143 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009515/1.649, allocations: 470.5 kB / 1.144 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03299/1.682, allocations: 16.82 MB / 1.16 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/1.682, allocations: 60 kB / 1.16 GB, free: 19.15 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001683/1.682, allocations: 72 kB / 1.16 GB, free: 19.08 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.374e-05/1.683, allocations: 27.89 kB / 1.16 GB, free: 19.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04937/1.732, allocations: 25.65 MB / 1.185 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/1.732, allocations: 11.47 kB / 1.185 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.734, allocations: 317.9 kB / 1.186 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02969/1.764, allocations: 8.265 MB / 1.194 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008766/1.764, allocations: 111.9 kB / 1.194 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.38/2.145, allocations: 73.83 MB / 1.266 GB, free: 275.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/2.145, allocations: 11.81 kB / 1.266 GB, free: 275.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04104/2.186, allocations: 21.58 MB / 1.287 GB, free: 272.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003715/2.189, allocations: 1.354 MB / 1.288 GB, free: 271.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009831/2.19, allocations: 108.3 kB / 1.288 GB, free: 271.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003151/2.194, allocations: 286 kB / 1.289 GB, free: 271.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001796/2.195, allocations: 0.5264 MB / 1.289 GB, free: 271.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004052/2.196, allocations: 147.5 kB / 1.289 GB, free: 271.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002378/2.198, allocations: 1.775 MB / 1.291 GB, free: 271 MB / 0.795 GB Notification: Performance of sort global known variables: time 4e-07/2.198, allocations: 1.406 kB / 1.291 GB, free: 271 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006933/2.205, allocations: 2.463 MB / 1.293 GB, free: 270.7 MB / 0.795 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.0006965/2.206, allocations: 245.6 kB / 1.294 GB, free: 270.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02124/2.227, allocations: 14.53 MB / 1.308 GB, free: 263.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/2.227, allocations: 2.75 kB / 1.308 GB, free: 263.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01486/2.242, allocations: 9.35 MB / 1.317 GB, free: 259.3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005223/2.247, allocations: 1.378 MB / 1.318 GB, free: 258.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/2.269, allocations: 15.59 MB / 1.334 GB, free: 250.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00544/2.274, allocations: 4.897 MB / 1.338 GB, free: 246.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002331/2.277, allocations: 0.7456 MB / 1.339 GB, free: 245.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/2.277, allocations: 195.4 kB / 1.339 GB, free: 245.5 MB / 0.795 GB Notification: Performance of SimCode: time 1.483e-06/2.277, allocations: 0 / 1.339 GB, free: 245.5 MB / 0.795 GB Notification: Performance of Templates: time 0.1725/2.45, allocations: 144.7 MB / 1.481 GB, free: 104.8 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)