Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.595/1.595, allocations: 297.8 MB / 313.8 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009206/0.0009206, allocations: 180.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007818/0.0007818, allocations: 97.19 kB / 0.7808 GB, free: 43.66 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 12 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5887/0.5891, allocations: 120.3 MB / 1.026 GB, free: 56.59 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.7847, allocations: 163.6 MB / 1.186 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.785, allocations: 98 kB / 1.186 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.09254/0.8776, allocations: 40.16 MB / 1.225 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.356e-06/0.8776, allocations: 3.984 kB / 1.225 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.385e-05/0.8777, allocations: 23.98 kB / 1.225 GB, free: 1.922 MB / 0.7917 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.00212/0.8798, allocations: 1.026 MB / 1.226 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.8798, allocations: 8.031 kB / 1.226 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.8814, allocations: 243.6 kB / 1.227 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.8822, allocations: 0.5481 MB / 1.227 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/0.8823, allocations: 54.36 kB / 1.227 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.8824, allocations: 68.27 kB / 1.227 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.8839, allocations: 1.143 MB / 1.228 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.884, allocations: 7.938 kB / 1.228 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.8841, allocations: 35.98 kB / 1.228 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/0.8841, allocations: 53.28 kB / 1.229 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.8852, allocations: 0.7465 MB / 1.229 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005334/0.8906, allocations: 5.913 MB / 1.235 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/0.8916, allocations: 0.5551 MB / 1.236 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/0.892, allocations: 326 kB / 1.236 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.8921, allocations: 8.438 kB / 1.236 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.8921, allocations: 38.94 kB / 1.236 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.8921, allocations: 0 / 1.236 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.003728/0.8959, allocations: 1.986 MB / 1.238 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.8959, allocations: 59.84 kB / 1.238 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.8965, allocations: 0.5508 MB / 1.238 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.8966, allocations: 33.7 kB / 1.239 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.8968, allocations: 399.2 kB / 1.239 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.897, allocations: 173.6 kB / 1.239 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.897, allocations: 12 kB / 1.239 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8972, allocations: 374.7 kB / 1.239 GB, free: 2.766 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.8976, allocations: 269.2 kB / 1.24 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.8981, allocations: 466.8 kB / 1.24 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.8992, allocations: 0.7787 MB / 1.241 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.8992, allocations: 0 / 1.241 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001688/0.9009, allocations: 1.052 MB / 1.242 GB, free: 40 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9009, allocations: 8 kB / 1.242 GB, free: 32 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.9009, allocations: 11.98 kB / 1.242 GB, free: 20 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007908/0.9017, allocations: 275.2 kB / 1.242 GB, free: 15.74 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.9022, allocations: 115.8 kB / 1.242 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/0.9084, allocations: 6.599 MB / 1.249 GB, free: 8.492 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.909, allocations: 39.95 kB / 1.249 GB, free: 8.453 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.115e-05/0.909, allocations: 24 kB / 1.249 GB, free: 8.43 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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.0004451/0.9095, allocations: 259.3 kB / 1.249 GB, free: 8.168 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.9096, allocations: 71.16 kB / 1.249 GB, free: 8.098 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.9112, allocations: 0.8846 MB / 1.25 GB, free: 7.191 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9112, allocations: 8 kB / 1.25 GB, free: 7.184 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.9112, allocations: 4.188 kB / 1.25 GB, free: 7.18 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.9112, allocations: 4.031 kB / 1.25 GB, free: 7.176 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.9139, allocations: 1.731 MB / 1.252 GB, free: 5.359 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9139, allocations: 0 / 1.252 GB, free: 5.359 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.9142, allocations: 59.89 kB / 1.252 GB, free: 5.301 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007095/0.9149, allocations: 267.3 kB / 1.252 GB, free: 5.027 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.9149, allocations: 16 kB / 1.252 GB, free: 5.012 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006064/0.921, allocations: 6.575 MB / 1.258 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9211, allocations: 4.031 kB / 1.258 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.9226, allocations: 0.9834 MB / 1.259 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.923, allocations: 192.2 kB / 1.26 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.9231, allocations: 11.94 kB / 1.26 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.9235, allocations: 31.97 kB / 1.26 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.9237, allocations: 40.08 kB / 1.26 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.9237, allocations: 19.98 kB / 1.26 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004967/0.9242, allocations: 383 kB / 1.26 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9242, allocations: 0 / 1.26 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009132/0.9252, allocations: 235.9 kB / 1.26 GB, free: 11.96 MB / 0.8386 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%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.9254, allocations: 115.2 kB / 1.26 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.9273, allocations: 1.26 MB / 1.262 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.9274, allocations: 4.125 kB / 1.262 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.9286, allocations: 0.8857 MB / 1.262 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.9297, allocations: 209.7 kB / 1.263 GB, free: 9.387 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.9321, allocations: 1.571 MB / 1.264 GB, free: 7.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.9328, allocations: 1.009 MB / 1.265 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004526/0.9332, allocations: 125.8 kB / 1.265 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.9333, allocations: 39.44 kB / 1.265 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/0.9334, allocations: 4 kB / 1.265 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of Templates: time 0.01873/0.9521, allocations: 10.45 MB / 1.276 GB, free: 12.24 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)