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.707/1.707, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001554/0.001554, allocations: 184.9 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008354/0.0008352, allocations: 99.5 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.537e-05, allocations: 4 kB / 0.8518 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7329/0.733, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.9521, allocations: 159.3 MB / 1.12 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004317/0.9526, allocations: 91.94 kB / 1.12 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09002/1.043, allocations: 36.38 MB / 1.156 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.833e-06/1.043, allocations: 0 / 1.156 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.638e-05/1.043, allocations: 20 kB / 1.156 GB, free: 7.75 MB / 0.7605 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.001781/1.045, allocations: 0.9589 MB / 1.157 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.045, allocations: 8.031 kB / 1.157 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/1.046, allocations: 237.1 kB / 1.157 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/1.047, allocations: 0.5337 MB / 1.157 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/1.047, allocations: 24 kB / 1.157 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/1.047, allocations: 39.94 kB / 1.157 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001071/1.048, allocations: 0.5935 MB / 1.158 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/1.05, allocations: 1.025 MB / 1.159 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.05, allocations: 7.938 kB / 1.159 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/1.05, allocations: 6.906 kB / 1.159 GB, free: 4.086 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.366e-05/1.05, allocations: 53.28 kB / 1.159 GB, free: 4.031 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005885/1.056, allocations: 5.763 MB / 1.165 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/1.057, allocations: 0.5213 MB / 1.165 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/1.057, allocations: 310.1 kB / 1.165 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/1.057, allocations: 4.438 kB / 1.165 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/1.057, allocations: 43 kB / 1.165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 2.895e-06/1.057, allocations: 0 / 1.165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.002256/1.06, allocations: 1.155 MB / 1.167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.06, allocations: 63.8 kB / 1.167 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/1.06, allocations: 398 kB / 1.167 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/1.06, allocations: 25.7 kB / 1.167 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/1.06, allocations: 410.9 kB / 1.167 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/1.061, allocations: 165.5 kB / 1.168 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/1.061, allocations: 0 / 1.168 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.061, allocations: 362.8 kB / 1.168 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/1.061, allocations: 253.5 kB / 1.168 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/1.062, allocations: 446.5 kB / 1.169 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/1.062, allocations: 321.8 kB / 1.169 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.062, allocations: 0 / 1.169 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001697/1.064, allocations: 0.9579 MB / 1.17 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.064, allocations: 8 kB / 1.17 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.064, allocations: 4.75 kB / 1.17 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008189/1.065, allocations: 279.3 kB / 1.17 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/1.065, allocations: 119.8 kB / 1.17 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/1.071, allocations: 6.331 MB / 1.176 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/1.072, allocations: 23.97 kB / 1.176 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/1.072, allocations: 28 kB / 1.177 GB, free: 1.055 MB / 0.7761 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 () * 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.0001978/1.072, allocations: 120.8 kB / 1.177 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/1.072, allocations: 72.02 kB / 1.177 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/1.074, allocations: 0.8214 MB / 1.177 GB, free: 16 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.074, allocations: 4 kB / 1.177 GB, free: 12 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.074, allocations: 4 kB / 1.178 GB, free: 8 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.074, allocations: 4 kB / 1.178 GB, free: 4 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/1.076, allocations: 1.566 MB / 1.179 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.076, allocations: 4 kB / 1.179 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/1.077, allocations: 63.89 kB / 1.179 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007028/1.077, allocations: 259.3 kB / 1.179 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/1.077, allocations: 0 / 1.179 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005813/1.083, allocations: 6.312 MB / 1.186 GB, free: 7.262 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.083, allocations: 3.938 kB / 1.186 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/1.085, allocations: 0.9979 MB / 1.186 GB, free: 6.176 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/1.085, allocations: 188.3 kB / 1.187 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/1.085, allocations: 8 kB / 1.187 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/1.086, allocations: 19.97 kB / 1.187 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.086, allocations: 43.83 kB / 1.187 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/1.086, allocations: 16 kB / 1.187 GB, free: 5.887 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003964/1.086, allocations: 302.9 kB / 1.187 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.91e-07/1.086, allocations: 0 / 1.187 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009838/1.087, allocations: 200 kB / 1.187 GB, free: 5.398 MB / 0.7917 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 () * 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.000232/1.087, allocations: 114.9 kB / 1.187 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001913/1.089, allocations: 1.173 MB / 1.188 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.089, allocations: 4 kB / 1.188 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.091, allocations: 0.8387 MB / 1.189 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/1.091, allocations: 170.3 kB / 1.189 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/1.093, allocations: 0.947 MB / 1.19 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/1.094, allocations: 1.016 MB / 1.191 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004132/1.094, allocations: 111.9 kB / 1.191 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.094, allocations: 39.44 kB / 1.192 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of SimCode: time 6.51e-07/1.095, allocations: 0 / 1.192 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of Templates: time 0.01685/1.111, allocations: 9.289 MB / 1.201 GB, free: 7.742 MB / 0.8073 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)