Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.3 MB / 308.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001638, allocations: 196.5 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 100.6 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001824, allocations: 55.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3457, allocations: 114.6 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04669/0.3925, allocations: 37.21 MB / 1.019 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5505/0.943, allocations: 13.01 MB / 1.031 GB, free: 71.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007541/0.9506, allocations: 154.4 kB / 1.031 GB, free: 71.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.009467/0.9602, allocations: 3.601 MB / 1.035 GB, free: 71.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.9681, allocations: 2.353 MB / 1.037 GB, free: 71.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007615/0.9758, allocations: 2.474 MB / 1.04 GB, free: 71.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0189/0.9947, allocations: 13.42 MB / 1.053 GB, free: 69.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01588/1.011, allocations: 11.69 MB / 1.064 GB, free: 65.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007685/1.018, allocations: 3.445 MB / 1.068 GB, free: 63.88 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008862/1.027, allocations: 4.446 MB / 1.072 GB, free: 62.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002527/1.03, allocations: 0.4947 MB / 1.072 GB, free: 62.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006364/1.036, allocations: 1.811 MB / 1.074 GB, free: 62.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004866/1.041, allocations: 2.764 MB / 1.077 GB, free: 61.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.008853/1.05, allocations: 3.27 MB / 1.08 GB, free: 59.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01638/1.066, allocations: 11.65 MB / 1.091 GB, free: 55.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.066, allocations: 0 / 1.091 GB, free: 55.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/1.066, allocations: 3.375 kB / 1.091 GB, free: 55.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004393/1.067, allocations: 0 / 1.091 GB, free: 55.8 MB / 0.7448 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.02151/1.088, allocations: 6.351 MB / 1.098 GB, free: 52.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.088, allocations: 9.688 kB / 1.098 GB, free: 52.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009189/1.098, allocations: 1.306 MB / 1.099 GB, free: 52.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009102/1.107, allocations: 3.567 MB / 1.102 GB, free: 50.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/1.107, allocations: 381.3 kB / 1.103 GB, free: 50.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/1.11, allocations: 0.493 MB / 1.103 GB, free: 49.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/1.132, allocations: 8.889 MB / 1.112 GB, free: 46.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000332/1.133, allocations: 35.64 kB / 1.112 GB, free: 46.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002364/1.135, allocations: 222.1 kB / 1.112 GB, free: 46.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002526/1.138, allocations: 0.6343 MB / 1.113 GB, free: 45.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/1.154, allocations: 7.013 MB / 1.12 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06061/1.215, allocations: 40.33 MB / 1.159 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005268/1.22, allocations: 2.891 MB / 1.162 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00464/1.225, allocations: 2.664 MB / 1.164 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/1.225, allocations: 26.31 kB / 1.164 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/1.226, allocations: 65.67 kB / 1.165 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=265): time 6.412e-06/1.226, allocations: 3.984 kB / 1.165 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=424): time 0.3128/1.538, allocations: 74.66 MB / 1.237 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/1.539, allocations: 98.67 kB / 1.238 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/1.542, allocations: 2.359 MB / 1.24 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001168/1.543, allocations: 93.7 kB / 1.24 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001829/1.545, allocations: 2.343 MB / 1.242 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002037/1.547, allocations: 1.431 MB / 1.244 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/1.549, allocations: 0.7253 MB / 1.244 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/1.549, allocations: 309.1 kB / 1.245 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004435/1.553, allocations: 3.001 MB / 1.248 GB, free: 14.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005067/1.558, allocations: 3.847 MB / 1.251 GB, free: 10.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/1.569, allocations: 7.38 MB / 1.258 GB, free: 2.531 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/1.569, allocations: 8 kB / 1.259 GB, free: 2.523 MB / 0.823 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03205/1.601, allocations: 12.55 MB / 1.271 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/1.601, allocations: 12 kB / 1.271 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/1.601, allocations: 27.98 kB / 1.271 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02328/1.625, allocations: 6.023 MB / 1.277 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/1.627, allocations: 499.2 kB / 1.277 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08716/1.714, allocations: 67.16 MB / 1.343 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/1.719, allocations: 223.8 kB / 1.343 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008063/1.72, allocations: 156.6 kB / 1.343 GB, free: 8.555 MB / 0.9167 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.004592/1.725, allocations: 1.988 MB / 1.345 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.726, allocations: 391.4 kB / 1.345 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02976/1.756, allocations: 12.23 MB / 1.357 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.623e-05/1.756, allocations: 40 kB / 1.357 GB, free: 9.785 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001898/1.756, allocations: 51.94 kB / 1.357 GB, free: 9.734 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/1.756, allocations: 31.8 kB / 1.357 GB, free: 9.703 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04466/1.801, allocations: 19.14 MB / 1.376 GB, free: 6.371 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-05/1.801, allocations: 8.094 kB / 1.376 GB, free: 6.363 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.803, allocations: 295.6 kB / 1.376 GB, free: 6.074 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02132/1.824, allocations: 5.569 MB / 1.382 GB, free: 452 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007822/1.825, allocations: 84 kB / 1.382 GB, free: 368 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6493/2.474, allocations: 64.78 MB / 1.445 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-05/2.474, allocations: 18 kB / 1.445 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08338/2.558, allocations: 36.72 MB / 1.481 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003243/2.561, allocations: 1.048 MB / 1.482 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007755/2.562, allocations: 78.03 kB / 1.482 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00288/2.565, allocations: 218.9 kB / 1.482 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/2.567, allocations: 406.6 kB / 1.483 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003188/2.567, allocations: 107.9 kB / 1.483 GB, free: 220.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002185/2.569, allocations: 1.555 MB / 1.484 GB, free: 220 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/2.569, allocations: 0 / 1.484 GB, free: 220 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008269/2.577, allocations: 2.121 MB / 1.487 GB, free: 219.8 MB / 0.948 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.0008496/2.578, allocations: 225.4 kB / 1.487 GB, free: 219.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02153/2.6, allocations: 12.17 MB / 1.499 GB, free: 213.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.072e-05/2.6, allocations: 7.062 kB / 1.499 GB, free: 213.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01721/2.617, allocations: 8.348 MB / 1.507 GB, free: 208.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007203/2.624, allocations: 1.107 MB / 1.508 GB, free: 207.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/2.659, allocations: 18.06 MB / 1.525 GB, free: 197.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01186/2.671, allocations: 4.238 MB / 1.53 GB, free: 195.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004147/2.675, allocations: 0.6751 MB / 1.53 GB, free: 195.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/2.676, allocations: 184.2 kB / 1.53 GB, free: 195.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.462e-06/2.676, allocations: 0 / 1.53 GB, free: 195.7 MB / 0.948 GB Notification: Performance of Templates: time 0.1675/2.843, allocations: 115.3 MB / 1.643 GB, free: 99.85 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)