Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.95/1.95, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.001203/0.001203, allocations: 180.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.631 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 90.28 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006396/0.0006401, allocations: 12.56 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3316, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005978/0.3377, allocations: 5.963 MB / 0.986 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004469/0.3422, allocations: 2.886 MB / 0.9888 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004935/0.3427, allocations: 23.81 kB / 0.9888 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.3431, allocations: 134.9 kB / 0.9889 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.3442, allocations: 469.6 kB / 0.9894 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.3451, allocations: 329.2 kB / 0.9897 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.3461, allocations: 1.345 MB / 0.991 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.3476, allocations: 0.9944 MB / 0.992 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.3481, allocations: 390.4 kB / 0.9924 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.3486, allocations: 482.2 kB / 0.9928 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.3486, allocations: 36 kB / 0.9928 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.3493, allocations: 427.1 kB / 0.9933 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.3496, allocations: 271.2 kB / 0.9935 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.3499, allocations: 415.8 kB / 0.9939 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.3505, allocations: 0.9158 MB / 0.9948 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3505, allocations: 0 / 0.9948 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3506, allocations: 0 / 0.9948 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.3506, allocations: 0 / 0.9948 GB, free: 12.25 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001373/0.3519, allocations: 1.005 MB / 0.9958 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.352, allocations: 12.03 kB / 0.9958 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.3534, allocations: 231.5 kB / 0.996 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.3541, allocations: 0.553 MB / 0.9966 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.3541, allocations: 49.61 kB / 0.9966 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.3542, allocations: 72.36 kB / 0.9967 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.3554, allocations: 1.073 MB / 0.9977 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.3554, allocations: 7.938 kB / 0.9977 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.3555, allocations: 31.98 kB / 0.9978 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.3556, allocations: 85.25 kB / 0.9978 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009217/0.3565, allocations: 0.7465 MB / 0.9986 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.3604, allocations: 5.905 MB / 1.004 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.3613, allocations: 0.5516 MB / 1.005 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.3617, allocations: 326 kB / 1.005 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.3617, allocations: 8.375 kB / 1.005 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3617, allocations: 39 kB / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.3618, allocations: 0 / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.003759/0.3655, allocations: 1.986 MB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.3656, allocations: 55.84 kB / 1.007 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.3662, allocations: 0.5508 MB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3663, allocations: 37.7 kB / 1.008 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.3666, allocations: 414.9 kB / 1.008 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.3668, allocations: 173.6 kB / 1.008 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.3668, allocations: 15.94 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.367, allocations: 374.7 kB / 1.009 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.3674, allocations: 273.8 kB / 1.009 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.368, allocations: 497 kB / 1.009 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3691, allocations: 0.8054 MB / 1.01 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3691, allocations: 0 / 1.01 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001797/0.3709, allocations: 1.083 MB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.371, allocations: 8 kB / 1.011 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.371, allocations: 4 kB / 1.011 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008263/0.3718, allocations: 287.3 kB / 1.012 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.3723, allocations: 123.8 kB / 1.012 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00718/0.3795, allocations: 6.591 MB / 1.018 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.3802, allocations: 35.97 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.3803, allocations: 32 kB / 1.018 GB, free: 2.719 MB / 0.6355 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000515/0.3808, allocations: 255.1 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3809, allocations: 75.09 kB / 1.019 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.3827, allocations: 0.8846 MB / 1.019 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3827, allocations: 4 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3827, allocations: 7.938 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3827, allocations: 3.984 kB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.3855, allocations: 1.724 MB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.3855, allocations: 7.922 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3858, allocations: 63.89 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007571/0.3865, allocations: 275.5 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.3866, allocations: 8 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006924/0.3935, allocations: 6.579 MB / 1.028 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3936, allocations: 0 / 1.028 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.3956, allocations: 0.9837 MB / 1.029 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.396, allocations: 196.2 kB / 1.029 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.3961, allocations: 15.94 kB / 1.029 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.3965, allocations: 27.97 kB / 1.029 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.3966, allocations: 44.08 kB / 1.029 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.3967, allocations: 12 kB / 1.029 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005991/0.3973, allocations: 383.1 kB / 1.029 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.3973, allocations: 0 / 1.029 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001079/0.3984, allocations: 220 kB / 1.03 GB, free: 6.25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002414/0.3986, allocations: 119.2 kB / 1.03 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002319/0.4009, allocations: 1.275 MB / 1.031 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.401, allocations: 0 / 1.031 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.4024, allocations: 0.8893 MB / 1.032 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.4037, allocations: 200.7 kB / 1.032 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.4063, allocations: 1.587 MB / 1.034 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.407, allocations: 1.005 MB / 1.035 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004391/0.4074, allocations: 122 kB / 1.035 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.4076, allocations: 47.44 kB / 1.035 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/0.4076, allocations: 0 / 1.035 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of Templates: time 0.02008/0.4277, allocations: 10.42 MB / 1.045 GB, free: 6.543 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)