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.657/1.657, allocations: 252 MB / 267.6 MB, free: 10.93 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.0009763/0.0009763, allocations: 190.9 kB / 327.3 MB, free: 2.195 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.998/1.998, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0008975/0.0008975, allocations: 90.36 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 12.22 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2474, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02734/0.2748, allocations: 34.17 MB / 0.9342 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01996/0.2948, allocations: 12.44 MB / 0.9464 GB, free: 17.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00513/0.3, allocations: 143.1 kB / 0.9465 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.3032, allocations: 0.7441 MB / 0.9472 GB, free: 16.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007103/0.3103, allocations: 2.06 MB / 0.9492 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00576/0.3161, allocations: 1.62 MB / 0.9508 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01144/0.3276, allocations: 10.6 MB / 0.9612 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0183/0.3459, allocations: 11.43 MB / 0.9723 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006828/0.3528, allocations: 2.945 MB / 0.9752 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008467/0.3613, allocations: 3.773 MB / 0.9789 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002104/0.3634, allocations: 316 kB / 0.9792 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006547/0.37, allocations: 0.7883 MB / 0.98 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.007488/0.3775, allocations: 2.432 MB / 0.9823 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005652/0.3832, allocations: 1.171 MB / 0.9835 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.3979, allocations: 9.732 MB / 0.993 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.3979, allocations: 0 / 0.993 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.507e-06/0.3979, allocations: 0 / 0.993 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005215/0.3985, allocations: 3.938 kB / 0.993 GB, free: 1.184 MB / 0.6355 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.01713/0.4156, allocations: 5.2 MB / 0.9981 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4157, allocations: 8.031 kB / 0.9981 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009819/0.4255, allocations: 1.304 MB / 0.9993 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009735/0.4353, allocations: 3.472 MB / 1.003 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/0.4358, allocations: 382.1 kB / 1.003 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002618/0.4385, allocations: 0.4997 MB / 1.004 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02598/0.4645, allocations: 8.847 MB / 1.012 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003822/0.4649, allocations: 23.78 kB / 1.012 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002207/0.4671, allocations: 223.9 kB / 1.012 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002371/0.4695, allocations: 0.6304 MB / 1.013 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.4875, allocations: 6.979 MB / 1.02 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6105/1.098, allocations: 40.37 MB / 1.059 GB, free: 118.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/1.103, allocations: 2.886 MB / 1.062 GB, free: 118.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004198/1.107, allocations: 2.657 MB / 1.065 GB, free: 118.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/1.107, allocations: 31.59 kB / 1.065 GB, free: 118.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.574e-05/1.107, allocations: 63.94 kB / 1.065 GB, free: 118.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 4.949e-06/1.107, allocations: 0.5938 kB / 1.065 GB, free: 118.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.2829/1.39, allocations: 77.42 MB / 1.14 GB, free: 68.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.39, allocations: 98.72 kB / 1.141 GB, free: 68.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/1.393, allocations: 2.336 MB / 1.143 GB, free: 66.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008592/1.394, allocations: 97.7 kB / 1.143 GB, free: 66.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.395, allocations: 2.334 MB / 1.145 GB, free: 63.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001453/1.396, allocations: 1.439 MB / 1.147 GB, free: 62.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/1.397, allocations: 89.22 kB / 1.147 GB, free: 62.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.397, allocations: 479.3 kB / 1.147 GB, free: 61.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/1.401, allocations: 2.984 MB / 1.15 GB, free: 58.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/1.405, allocations: 3.831 MB / 1.154 GB, free: 54.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/1.409, allocations: 3.545 MB / 1.157 GB, free: 51.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/1.409, allocations: 4 kB / 1.157 GB, free: 51.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02447/1.433, allocations: 12.5 MB / 1.169 GB, free: 38.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.433, allocations: 13 kB / 1.169 GB, free: 38.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/1.433, allocations: 24 kB / 1.169 GB, free: 38.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0202/1.453, allocations: 6.022 MB / 1.175 GB, free: 32.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/1.456, allocations: 491.2 kB / 1.176 GB, free: 31.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07489/1.53, allocations: 67.19 MB / 1.241 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/1.535, allocations: 215.8 kB / 1.242 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005795/1.536, allocations: 148 kB / 1.242 GB, free: 9.246 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004408/1.54, allocations: 2 MB / 1.244 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.541, allocations: 391.4 kB / 1.244 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02856/1.57, allocations: 12.18 MB / 1.256 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/1.57, allocations: 40 kB / 1.256 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001918/1.57, allocations: 52 kB / 1.256 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.51e-05/1.57, allocations: 19.92 kB / 1.256 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04692/1.617, allocations: 19.12 MB / 1.275 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/1.617, allocations: 7.984 kB / 1.275 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/1.619, allocations: 283.7 kB / 1.275 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0215/1.64, allocations: 5.568 MB / 1.281 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009013/1.641, allocations: 76 kB / 1.281 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08036/1.722, allocations: 64.82 MB / 1.344 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/1.722, allocations: 11.94 kB / 1.344 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03302/1.755, allocations: 15.55 MB / 1.359 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002963/1.758, allocations: 1.055 MB / 1.36 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007899/1.759, allocations: 83.98 kB / 1.36 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.761, allocations: 211.7 kB / 1.36 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001364/1.763, allocations: 398.3 kB / 1.361 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002955/1.763, allocations: 108 kB / 1.361 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002408/1.765, allocations: 1.529 MB / 1.362 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/1.765, allocations: 0 / 1.362 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006893/1.772, allocations: 1.852 MB / 1.364 GB, free: 8.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006585/1.773, allocations: 233.6 kB / 1.364 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02189/1.795, allocations: 12.18 MB / 1.376 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/1.795, allocations: 4 kB / 1.376 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01654/1.811, allocations: 8.379 MB / 1.384 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006509/1.818, allocations: 1.116 MB / 1.386 GB, free: 1.613 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4344/2.252, allocations: 14.98 MB / 1.4 GB, free: 282.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007616/2.26, allocations: 4.16 MB / 1.404 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/2.261, allocations: 195.2 kB / 1.404 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.593e-06/2.261, allocations: 0 / 1.404 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of Templates: time 1.474/3.735, allocations: 0.7431 GB / 2.148 GB, free: 237.8 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)