Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009558/0.0009559, allocations: 170.4 kB / 327.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007978/0.0007977, allocations: 97.5 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 10.16 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1769, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02716/0.2041, allocations: 36.29 MB / 0.9369 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.221, allocations: 12.92 MB / 0.9495 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003688/0.2247, allocations: 147.1 kB / 0.9497 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.2273, allocations: 0.7597 MB / 0.9504 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006641/0.2339, allocations: 2.341 MB / 0.9527 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005644/0.2396, allocations: 2.301 MB / 0.9549 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0136/0.2532, allocations: 13.3 MB / 0.9679 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02159/0.2749, allocations: 13.2 MB / 0.9808 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005632/0.2805, allocations: 2.995 MB / 0.9837 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007346/0.2879, allocations: 3.869 MB / 0.9875 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002547/0.2905, allocations: 316 kB / 0.9878 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005521/0.296, allocations: 1.638 MB / 0.9894 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003917/0.3, allocations: 2.451 MB / 0.9918 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00586/0.3059, allocations: 2.94 MB / 0.9947 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.3164, allocations: 9.775 MB / 1.004 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3164, allocations: 0 / 1.004 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3164, allocations: 0 / 1.004 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004023/0.3169, allocations: 0 / 1.004 GB, free: 5.883 MB / 0.6511 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.01323/0.3301, allocations: 5.138 MB / 1.009 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3302, allocations: 12.03 kB / 1.009 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008917/0.3391, allocations: 1.305 MB / 1.011 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00776/0.3469, allocations: 3.568 MB / 1.014 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000399/0.3473, allocations: 382.4 kB / 1.014 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.3492, allocations: 0.4924 MB / 1.015 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/0.3683, allocations: 8.898 MB / 1.024 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/0.3686, allocations: 23.69 kB / 1.024 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/0.3699, allocations: 223.9 kB / 1.024 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002279/0.3722, allocations: 0.6343 MB / 1.024 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/0.3862, allocations: 7.014 MB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4302/0.8164, allocations: 40.39 MB / 1.071 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005035/0.8215, allocations: 2.894 MB / 1.074 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004724/0.8263, allocations: 2.664 MB / 1.076 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.8265, allocations: 28.61 kB / 1.076 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.8266, allocations: 67.36 kB / 1.076 GB, free: 116.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 3.767e-06/0.8266, allocations: 0 / 1.076 GB, free: 116.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.2903/1.117, allocations: 77.5 MB / 1.152 GB, free: 61.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/1.117, allocations: 94.73 kB / 1.152 GB, free: 61.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/1.12, allocations: 2.355 MB / 1.154 GB, free: 59.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007888/1.121, allocations: 103.4 kB / 1.154 GB, free: 59.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.122, allocations: 2.335 MB / 1.157 GB, free: 56.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001581/1.124, allocations: 1.441 MB / 1.158 GB, free: 55.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006554/1.124, allocations: 84 kB / 1.158 GB, free: 55.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002435/1.124, allocations: 483.3 kB / 1.159 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004168/1.129, allocations: 2.995 MB / 1.162 GB, free: 51.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004642/1.133, allocations: 3.851 MB / 1.165 GB, free: 47.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009056/1.142, allocations: 7.384 MB / 1.173 GB, free: 39.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/1.142, allocations: 8 kB / 1.173 GB, free: 39.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02704/1.169, allocations: 12.55 MB / 1.185 GB, free: 27.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/1.17, allocations: 16 kB / 1.185 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/1.17, allocations: 20 kB / 1.185 GB, free: 27.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02201/1.192, allocations: 6.027 MB / 1.191 GB, free: 21.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.194, allocations: 496.1 kB / 1.191 GB, free: 20.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0767/1.271, allocations: 67.3 MB / 1.257 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/1.275, allocations: 219.8 kB / 1.257 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009186/1.276, allocations: 156 kB / 1.257 GB, free: 13.79 MB / 0.7605 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.004428/1.28, allocations: 1.995 MB / 1.259 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.281, allocations: 391.5 kB / 1.26 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02941/1.311, allocations: 12.23 MB / 1.272 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-05/1.311, allocations: 40 kB / 1.272 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002054/1.311, allocations: 52 kB / 1.272 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/1.311, allocations: 23.92 kB / 1.272 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04413/1.356, allocations: 19.17 MB / 1.29 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/1.356, allocations: 11.94 kB / 1.29 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.357, allocations: 283.6 kB / 1.291 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02161/1.379, allocations: 5.577 MB / 1.296 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000649/1.38, allocations: 79.98 kB / 1.296 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.078/1.458, allocations: 64.91 MB / 1.36 GB, free: 1.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/1.458, allocations: 11.94 kB / 1.36 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0339/1.492, allocations: 15.61 MB / 1.375 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/1.495, allocations: 1.051 MB / 1.376 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/1.496, allocations: 84 kB / 1.376 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.499, allocations: 211.7 kB / 1.376 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3847/1.884, allocations: 404.5 kB / 1.376 GB, free: 274.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008007/1.885, allocations: 107.8 kB / 1.377 GB, free: 274.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002294/1.887, allocations: 1.553 MB / 1.378 GB, free: 274.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.41e-07/1.887, allocations: 1.125 kB / 1.378 GB, free: 274.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006391/1.894, allocations: 1.846 MB / 1.38 GB, free: 274.1 MB / 0.8698 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.0007284/1.894, allocations: 222.5 kB / 1.38 GB, free: 274 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02181/1.916, allocations: 12.2 MB / 1.392 GB, free: 271.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/1.916, allocations: 2.5 kB / 1.392 GB, free: 271.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01632/1.932, allocations: 8.392 MB / 1.4 GB, free: 268.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008385/1.941, allocations: 1.114 MB / 1.401 GB, free: 268.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/1.962, allocations: 15.59 MB / 1.417 GB, free: 262.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005423/1.967, allocations: 4.161 MB / 1.421 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009407/1.968, allocations: 198 kB / 1.421 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/1.968, allocations: 3.938 kB / 1.421 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of Templates: time 1.26/3.228, allocations: 0.7429 GB / 2.164 GB, free: 212.4 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)