Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00126/0.00126, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 66.36 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3445, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04403/0.3886, allocations: 41.19 MB / 1.108 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.4138, allocations: 15.08 MB / 1.123 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005554/0.4194, allocations: 187.1 kB / 1.123 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.4318, allocations: 4.459 MB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009799/0.4416, allocations: 2.802 MB / 1.13 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008206/0.4499, allocations: 3.159 MB / 1.133 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01391/0.4638, allocations: 11.4 MB / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01938/0.4832, allocations: 12.63 MB / 1.157 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008494/0.4918, allocations: 4.798 MB / 1.162 GB, free: 10.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008824/0.5006, allocations: 5.386 MB / 1.167 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003214/0.5038, allocations: 0.9492 MB / 1.168 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006076/0.5099, allocations: 2.033 MB / 1.17 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005744/0.5157, allocations: 3.695 MB / 1.173 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01191/0.5276, allocations: 4.295 MB / 1.178 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02285/0.5505, allocations: 14.19 MB / 1.191 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.5506, allocations: 0 / 1.191 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.275e-06/0.5506, allocations: 0 / 1.191 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0005884/0.5512, allocations: 4 kB / 1.191 GB, free: 11.71 MB / 0.9512 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.02531/0.5765, allocations: 7.593 MB / 1.199 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5766, allocations: 8.031 kB / 1.199 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.5881, allocations: 1.518 MB / 1.2 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.5982, allocations: 4.217 MB / 1.204 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005952/0.5988, allocations: 460.5 kB / 1.205 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00359/0.6024, allocations: 0.5938 MB / 1.206 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02839/0.6309, allocations: 10.68 MB / 1.216 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002596/0.6312, allocations: 35.7 kB / 1.216 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00195/0.6331, allocations: 263.9 kB / 1.216 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003082/0.6362, allocations: 0.7729 MB / 1.217 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.6564, allocations: 8.561 MB / 1.225 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6814/1.338, allocations: 46.85 MB / 1.271 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006777/1.345, allocations: 4.312 MB / 1.275 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007433/1.352, allocations: 3.701 MB / 1.279 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004205/1.353, allocations: 37.41 kB / 1.279 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/1.353, allocations: 75.97 kB / 1.279 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 5.881e-06/1.353, allocations: 0 / 1.279 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.5107/1.863, allocations: 122.8 MB / 1.399 GB, free: 41.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/1.863, allocations: 119.9 kB / 1.399 GB, free: 40.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/1.868, allocations: 2.681 MB / 1.402 GB, free: 38.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001315/1.869, allocations: 121.7 kB / 1.402 GB, free: 38.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/1.871, allocations: 2.675 MB / 1.404 GB, free: 35.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002301/1.873, allocations: 1.953 MB / 1.406 GB, free: 33.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/1.875, allocations: 0.9248 MB / 1.407 GB, free: 32.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.593e-05/1.875, allocations: 305.1 kB / 1.408 GB, free: 32.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004977/1.88, allocations: 4.082 MB / 1.412 GB, free: 28.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00565/1.885, allocations: 5.019 MB / 1.416 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/1.897, allocations: 9.848 MB / 1.426 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/1.898, allocations: 8 kB / 1.426 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03967/1.937, allocations: 16.99 MB / 1.443 GB, free: 11.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/1.937, allocations: 12 kB / 1.443 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/1.937, allocations: 27.94 kB / 1.443 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03368/1.971, allocations: 9.15 MB / 1.452 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/1.974, allocations: 0.5187 MB / 1.452 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1129/2.087, allocations: 77.04 MB / 1.527 GB, free: 3.137 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005891/2.093, allocations: 279.8 kB / 1.528 GB, free: 2.863 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/2.094, allocations: 192 kB / 1.528 GB, free: 2.676 MB / 1.092 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.00558/2.099, allocations: 2.417 MB / 1.53 GB, free: 252 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/2.101, allocations: 470.6 kB / 1.531 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04135/2.142, allocations: 16.83 MB / 1.547 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.639e-05/2.142, allocations: 56 kB / 1.547 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000223/2.142, allocations: 72 kB / 1.547 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001633/2.143, allocations: 27.84 kB / 1.547 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05845/2.201, allocations: 25.65 MB / 1.572 GB, free: 4.773 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.599e-05/2.201, allocations: 8 kB / 1.572 GB, free: 4.766 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/2.203, allocations: 327.5 kB / 1.573 GB, free: 4.445 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03014/2.233, allocations: 8.328 MB / 1.581 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001189/2.235, allocations: 120 kB / 1.581 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1117/2.346, allocations: 73.88 MB / 1.653 GB, free: 0.543 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/2.346, allocations: 11.94 kB / 1.653 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04551/2.392, allocations: 21.56 MB / 1.674 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003603/2.395, allocations: 1.358 MB / 1.675 GB, free: 9.227 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/2.397, allocations: 115.9 kB / 1.675 GB, free: 9.113 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004175/2.401, allocations: 283.6 kB / 1.676 GB, free: 8.836 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002524/2.404, allocations: 0.5182 MB / 1.676 GB, free: 8.316 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008006/2.405, allocations: 148 kB / 1.676 GB, free: 8.172 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002872/2.407, allocations: 1.776 MB / 1.678 GB, free: 6.406 MB / 1.248 GB Notification: Performance of sort global known variables: time 5.61e-07/2.407, allocations: 0 / 1.678 GB, free: 6.406 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.009382/2.417, allocations: 2.469 MB / 1.681 GB, free: 3.938 MB / 1.248 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.001115/2.418, allocations: 232.1 kB / 1.681 GB, free: 3.703 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0369/2.455, allocations: 18.69 MB / 1.699 GB, free: 0.8398 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/2.455, allocations: 3.938 kB / 1.699 GB, free: 0.8359 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0198/2.475, allocations: 9.351 MB / 1.708 GB, free: 7.332 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007352/2.482, allocations: 1.377 MB / 1.709 GB, free: 6.004 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03164/2.514, allocations: 15.72 MB / 1.725 GB, free: 6.16 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008426/2.522, allocations: 4.9 MB / 1.73 GB, free: 1.219 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003013/2.525, allocations: 0.741 MB / 1.73 GB, free: 484 kB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/2.526, allocations: 207.4 kB / 1.731 GB, free: 276 kB / 1.295 GB Notification: Performance of SimCode: time 1.322e-06/2.526, allocations: 0 / 1.731 GB, free: 276 kB / 1.295 GB Notification: Performance of Templates: time 0.7261/3.252, allocations: 147.5 MB / 1.875 GB, free: 331 MB / 1.295 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)