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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001879/0.001879, allocations: 198.8 kB / 16.14 MB, free: 6.641 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002468/0.002468, allocations: 282.7 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.137/1.137, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 96.55 kB / 0.6057 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1643, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04464/0.2089, allocations: 37.23 MB / 0.7292 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.2306, allocations: 13.02 MB / 0.7419 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003524/0.2342, allocations: 155.1 kB / 0.742 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009414/0.2436, allocations: 3.613 MB / 0.7456 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006705/0.2503, allocations: 2.349 MB / 0.7479 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006603/0.257, allocations: 2.479 MB / 0.7503 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3013/0.5583, allocations: 13.35 MB / 0.7633 GB, free: 16.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01619/0.5746, allocations: 11.69 MB / 0.7747 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006298/0.5809, allocations: 3.403 MB / 0.778 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008857/0.5898, allocations: 4.457 MB / 0.7824 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003096/0.5929, allocations: 0.4916 MB / 0.7829 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.6039, allocations: 1.818 MB / 0.7847 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00809/0.612, allocations: 2.748 MB / 0.7873 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.6224, allocations: 3.272 MB / 0.7905 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.6368, allocations: 11.66 MB / 0.8019 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6369, allocations: 0 / 0.8019 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6369, allocations: 0 / 0.8019 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003688/0.6373, allocations: 0 / 0.8019 GB, free: 10.96 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.02036/0.6576, allocations: 6.355 MB / 0.8081 GB, free: 7.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.6577, allocations: 7.844 kB / 0.8081 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.668, allocations: 1.307 MB / 0.8094 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008816/0.6769, allocations: 3.571 MB / 0.8129 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.6771, allocations: 376.3 kB / 0.8133 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/0.6794, allocations: 0.4991 MB / 0.8137 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01886/0.6983, allocations: 8.881 MB / 0.8224 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.6985, allocations: 31.8 kB / 0.8224 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008146/0.6993, allocations: 222.1 kB / 0.8227 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/0.7013, allocations: 0.6308 MB / 0.8233 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.7168, allocations: 7.016 MB / 0.8301 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05852/0.7753, allocations: 40.34 MB / 0.8695 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004587/0.78, allocations: 2.89 MB / 0.8723 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004033/0.784, allocations: 2.671 MB / 0.8749 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.7842, allocations: 26.09 kB / 0.875 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.906e-05/0.7843, allocations: 64.66 kB / 0.875 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=265): time 4.639e-06/0.7843, allocations: 4 kB / 0.875 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=424): time 0.3099/1.094, allocations: 74.65 MB / 0.9479 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/1.094, allocations: 94.73 kB / 0.948 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/1.098, allocations: 2.359 MB / 0.9503 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001001/1.099, allocations: 97.7 kB / 0.9504 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001842/1.101, allocations: 2.338 MB / 0.9527 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002017/1.103, allocations: 1.435 MB / 0.9541 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/1.105, allocations: 0.7254 MB / 0.9548 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.105, allocations: 305.1 kB / 0.9551 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004909/1.11, allocations: 2.995 MB / 0.958 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005717/1.115, allocations: 3.847 MB / 0.9618 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.127, allocations: 7.385 MB / 0.969 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/1.127, allocations: 8.75 kB / 0.969 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03163/1.158, allocations: 12.55 MB / 0.9813 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/1.158, allocations: 16 kB / 0.9813 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-05/1.159, allocations: 24.84 kB / 0.9813 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02512/1.184, allocations: 6.029 MB / 0.9872 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/1.186, allocations: 492.8 kB / 0.9877 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4298/1.616, allocations: 67.16 MB / 1.053 GB, free: 260.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/1.621, allocations: 217.6 kB / 1.053 GB, free: 260.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006068/1.622, allocations: 152.9 kB / 1.054 GB, free: 260.5 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.004354/1.626, allocations: 1.999 MB / 1.056 GB, free: 260.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.627, allocations: 394.4 kB / 1.056 GB, free: 260.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02973/1.657, allocations: 12.24 MB / 1.068 GB, free: 259.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-05/1.657, allocations: 39.72 kB / 1.068 GB, free: 259.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002245/1.657, allocations: 48.91 kB / 1.068 GB, free: 259.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000106/1.657, allocations: 21.5 kB / 1.068 GB, free: 259.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05382/1.711, allocations: 19.13 MB / 1.087 GB, free: 253 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.833e-05/1.711, allocations: 8.062 kB / 1.087 GB, free: 253 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.714, allocations: 292.1 kB / 1.087 GB, free: 253 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02263/1.736, allocations: 5.577 MB / 1.092 GB, free: 251.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007049/1.737, allocations: 88.72 kB / 1.092 GB, free: 251.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06334/1.8, allocations: 64.78 MB / 1.156 GB, free: 203.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.8, allocations: 8 kB / 1.156 GB, free: 203.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02743/1.828, allocations: 15.62 MB / 1.171 GB, free: 187.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002903/1.831, allocations: 1.043 MB / 1.172 GB, free: 186.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009742/1.832, allocations: 83.98 kB / 1.172 GB, free: 186.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/1.834, allocations: 215.7 kB / 1.172 GB, free: 186.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/1.836, allocations: 402.2 kB / 1.173 GB, free: 186 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002727/1.836, allocations: 108 kB / 1.173 GB, free: 185.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00194/1.838, allocations: 1.564 MB / 1.174 GB, free: 184.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/1.838, allocations: 0 / 1.174 GB, free: 184.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006083/1.844, allocations: 1.859 MB / 1.176 GB, free: 182.4 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.0005095/1.845, allocations: 215.2 kB / 1.176 GB, free: 182.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01833/1.863, allocations: 12.18 MB / 1.188 GB, free: 169.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/1.863, allocations: 7.906 kB / 1.188 GB, free: 169.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0135/1.877, allocations: 8.341 MB / 1.196 GB, free: 161.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005485/1.882, allocations: 1.121 MB / 1.198 GB, free: 160 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/1.901, allocations: 14.79 MB / 1.212 GB, free: 145.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003939/1.905, allocations: 4.09 MB / 1.216 GB, free: 141.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002525/1.908, allocations: 0.6669 MB / 1.217 GB, free: 140.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/1.908, allocations: 179.4 kB / 1.217 GB, free: 140.3 MB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/1.908, allocations: 0 / 1.217 GB, free: 140.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.1395/2.048, allocations: 108 MB / 1.322 GB, free: 33.32 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)