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.001281/0.001281, allocations: 109.6 kB / 16.41 MB, free: 6.477 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.001091/0.001091, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 274 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9714/0.9714, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 95.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4484, allocations: 86.97 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03956/0.488, allocations: 37.58 MB / 0.8038 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02219/0.5102, allocations: 13.03 MB / 0.8165 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.5145, allocations: 167.1 kB / 0.8167 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.5249, allocations: 3.893 MB / 0.8205 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008015/0.5329, allocations: 2.612 MB / 0.823 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007483/0.5404, allocations: 2.704 MB / 0.8257 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01291/0.5533, allocations: 9.602 MB / 0.835 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.5671, allocations: 10.49 MB / 0.8453 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007323/0.5745, allocations: 4.078 MB / 0.8493 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008032/0.5826, allocations: 4.377 MB / 0.8535 GB, free: 11 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003234/0.5859, allocations: 0.7734 MB / 0.8543 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006122/0.592, allocations: 1.783 MB / 0.856 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004275/0.5963, allocations: 3.037 MB / 0.859 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006249/0.6026, allocations: 3.583 MB / 0.8625 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.6173, allocations: 11.85 MB / 0.8741 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6173, allocations: 3.938 kB / 0.8741 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6173, allocations: 0 / 0.8741 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003873/0.6177, allocations: 0 / 0.8741 GB, free: 5.914 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01665/0.6344, allocations: 6.355 MB / 0.8803 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.6344, allocations: 12.03 kB / 0.8803 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008796/0.6432, allocations: 1.305 MB / 0.8816 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007885/0.6511, allocations: 3.783 MB / 0.8853 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.6515, allocations: 382.5 kB / 0.8856 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/0.6531, allocations: 0.5002 MB / 0.8861 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/0.671, allocations: 8.886 MB / 0.8948 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.6712, allocations: 27.77 kB / 0.8948 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008083/0.6721, allocations: 223.9 kB / 0.895 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.6743, allocations: 0.6343 MB / 0.8956 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.688, allocations: 7.01 MB / 0.9025 GB, free: 8.277 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0547/0.7428, allocations: 40.05 MB / 0.9416 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004512/0.7473, allocations: 2.89 MB / 0.9444 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003933/0.7513, allocations: 2.663 MB / 0.947 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.7516, allocations: 34.03 kB / 0.9471 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.7516, allocations: 68.59 kB / 0.9471 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.248e-06/0.7516, allocations: 0 / 0.9471 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.7072/1.459, allocations: 74.69 MB / 1.02 GB, free: 151.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.459, allocations: 94.73 kB / 1.02 GB, free: 151.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/1.462, allocations: 2.359 MB / 1.022 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008458/1.463, allocations: 101.7 kB / 1.023 GB, free: 148.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/1.464, allocations: 2.34 MB / 1.025 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.465, allocations: 1.434 MB / 1.026 GB, free: 145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/1.467, allocations: 0.7215 MB / 1.027 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/1.467, allocations: 301.1 kB / 1.027 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/1.47, allocations: 2.999 MB / 1.03 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003851/1.474, allocations: 3.843 MB / 1.034 GB, free: 136.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009063/1.483, allocations: 7.391 MB / 1.041 GB, free: 129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/1.483, allocations: 8 kB / 1.041 GB, free: 129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02531/1.509, allocations: 12.56 MB / 1.053 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/1.509, allocations: 16 kB / 1.053 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/1.509, allocations: 20 kB / 1.053 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02061/1.529, allocations: 6.027 MB / 1.059 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/1.532, allocations: 499.1 kB / 1.06 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06773/1.599, allocations: 72.98 MB / 1.131 GB, free: 33.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004004/1.603, allocations: 217.5 kB / 1.131 GB, free: 33.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000473/1.604, allocations: 152 kB / 1.131 GB, free: 33.16 MB / 0.7325 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.002824/1.607, allocations: 1.992 MB / 1.133 GB, free: 31.15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007894/1.607, allocations: 395.4 kB / 1.134 GB, free: 30.76 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02485/1.632, allocations: 12.23 MB / 1.146 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/1.632, allocations: 43.94 kB / 1.146 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001301/1.633, allocations: 48 kB / 1.146 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.599e-05/1.633, allocations: 19.92 kB / 1.146 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03519/1.668, allocations: 19.14 MB / 1.164 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-05/1.668, allocations: 11.98 kB / 1.164 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/1.669, allocations: 284.4 kB / 1.165 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02146/1.691, allocations: 5.582 MB / 1.17 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007416/1.692, allocations: 76 kB / 1.17 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09011/1.782, allocations: 70.63 MB / 1.239 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-05/1.782, allocations: 11.94 kB / 1.239 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03522/1.817, allocations: 15.62 MB / 1.255 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003161/1.82, allocations: 1.035 MB / 1.256 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/1.822, allocations: 87.98 kB / 1.256 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00346/1.825, allocations: 215.7 kB / 1.256 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001818/1.827, allocations: 398.3 kB / 1.256 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007153/1.828, allocations: 116.1 kB / 1.256 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00308/1.831, allocations: 1.556 MB / 1.258 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/1.831, allocations: 0 / 1.258 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007393/1.838, allocations: 1.859 MB / 1.26 GB, free: 9.895 MB / 0.8419 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.000877/1.839, allocations: 217.5 kB / 1.26 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02303/1.862, allocations: 12.21 MB / 1.272 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.862, allocations: 4.375 kB / 1.272 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01684/1.879, allocations: 8.352 MB / 1.28 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007217/1.886, allocations: 1.192 MB / 1.281 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/1.913, allocations: 12.93 MB / 1.294 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006448/1.919, allocations: 4.16 MB / 1.298 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009355/1.92, allocations: 199.4 kB / 1.298 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/1.92, allocations: 0 / 1.298 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of Templates: time 1.515/3.436, allocations: 0.7441 GB / 2.042 GB, free: 266.7 MB / 0.9044 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)