Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002299/0.002299, allocations: 192.5 kB / 16.14 MB, free: 6.688 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.642/1.642, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 62.66 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3007, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01275/0.3135, allocations: 10.87 MB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.3263, allocations: 8.803 MB / 1.087 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.3279, allocations: 55.62 kB / 1.087 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004182/0.3322, allocations: 1.56 MB / 1.088 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.3371, allocations: 1.39 MB / 1.09 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.3391, allocations: 0.6152 MB / 1.09 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003532/0.3426, allocations: 2.895 MB / 1.093 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.3446, allocations: 1.325 MB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.3462, allocations: 0.8948 MB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.3476, allocations: 1.019 MB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.3478, allocations: 84 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.3496, allocations: 0.9162 MB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005345/0.3502, allocations: 0.5178 MB / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009518/0.3511, allocations: 0.8276 MB / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.354, allocations: 2.538 MB / 1.101 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.354, allocations: 0 / 1.101 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.354, allocations: 0 / 1.101 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.727e-05/0.354, allocations: 0 / 1.101 GB, free: 8.395 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003269/0.3573, allocations: 2.018 MB / 1.103 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3574, allocations: 12.03 kB / 1.103 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.3683, allocations: 2.046 MB / 1.105 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.3708, allocations: 1.126 MB / 1.106 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.3708, allocations: 82.7 kB / 1.106 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.3711, allocations: 120.1 kB / 1.106 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005495/0.3766, allocations: 2.49 MB / 1.109 GB, free: 244 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/0.3767, allocations: 11.84 kB / 1.109 GB, free: 232 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.3768, allocations: 52 kB / 1.109 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003499/0.3772, allocations: 126.1 kB / 1.109 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007106/0.3843, allocations: 2.541 MB / 1.111 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/0.3988, allocations: 10.08 MB / 1.121 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005796/0.4047, allocations: 1.952 MB / 1.123 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002741/0.4074, allocations: 0.9738 MB / 1.124 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.616e-05/0.4075, allocations: 4.438 kB / 1.124 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.4076, allocations: 43 kB / 1.124 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 2.815e-06/0.4076, allocations: 0 / 1.124 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=81): time 0.03104/0.4386, allocations: 8.71 MB / 1.133 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.4387, allocations: 64.06 kB / 1.133 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.4404, allocations: 1.097 MB / 1.134 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.4406, allocations: 41.69 kB / 1.134 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/0.4411, allocations: 0.7341 MB / 1.135 GB, free: 5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.4414, allocations: 283.9 kB / 1.135 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.4419, allocations: 202.4 kB / 1.135 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.442, allocations: 345.9 kB / 1.135 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/0.4449, allocations: 1.071 MB / 1.136 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.4479, allocations: 1.305 MB / 1.138 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/0.4537, allocations: 2.386 MB / 1.14 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4537, allocations: 0 / 1.14 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009083/0.4628, allocations: 3.276 MB / 1.143 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.4629, allocations: 8 kB / 1.143 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.4629, allocations: 8 kB / 1.143 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.4659, allocations: 0.7878 MB / 1.144 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.4679, allocations: 419.2 kB / 1.144 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.4841, allocations: 14.7 MB / 1.159 GB, free: 10.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.4865, allocations: 291.5 kB / 1.159 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.4867, allocations: 55.95 kB / 1.159 GB, free: 10.56 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009255/0.4877, allocations: 400.5 kB / 1.159 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003967/0.4881, allocations: 150.2 kB / 1.16 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008619/0.4967, allocations: 3.195 MB / 1.163 GB, free: 6.777 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.4967, allocations: 12 kB / 1.163 GB, free: 6.766 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-05/0.4968, allocations: 12 kB / 1.163 GB, free: 6.754 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4968, allocations: 3.984 kB / 1.163 GB, free: 6.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.5085, allocations: 4.916 MB / 1.168 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/0.5086, allocations: 7.984 kB / 1.168 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.5103, allocations: 343.4 kB / 1.168 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.513, allocations: 0.7096 MB / 1.169 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.5133, allocations: 31.97 kB / 1.169 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/0.5311, allocations: 14.32 MB / 1.183 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.5312, allocations: 4 kB / 1.183 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008947/0.5401, allocations: 3.038 MB / 1.186 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.5415, allocations: 383.2 kB / 1.186 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006676/0.5423, allocations: 27.88 kB / 1.186 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/0.5447, allocations: 295.4 kB / 1.186 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00048/0.5452, allocations: 72.55 kB / 1.186 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.5453, allocations: 43.91 kB / 1.186 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00189/0.5472, allocations: 0.7366 MB / 1.187 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5473, allocations: 0 / 1.187 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002723/0.55, allocations: 443.9 kB / 1.187 GB, free: 12.09 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004364/0.5504, allocations: 123.2 kB / 1.188 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008779/0.5592, allocations: 3.617 MB / 1.191 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.5593, allocations: 0 / 1.191 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004796/0.5641, allocations: 2.368 MB / 1.193 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.5671, allocations: 485.5 kB / 1.194 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009012/0.5761, allocations: 4.059 MB / 1.198 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/0.5786, allocations: 1.388 MB / 1.199 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002511/0.5811, allocations: 379.8 kB / 1.2 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/0.5817, allocations: 103.4 kB / 1.2 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of SimCode: time 3.577e-06/0.5817, allocations: 0 / 1.2 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of Templates: time 0.06173/0.6435, allocations: 29.3 MB / 1.228 GB, free: 2.355 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)