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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001407/0.001408, allocations: 172.4 kB / 361.4 MB, free: 6.836 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.701/1.701, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0009645/0.0009649, allocations: 92.89 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.168e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6969/0.697, allocations: 115.3 MB / 0.9644 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/0.9195, allocations: 160.6 MB / 1.121 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.9198, allocations: 92.75 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08845/1.008, allocations: 36.62 MB / 1.157 GB, free: 6.297 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.543e-06/1.008, allocations: 4 kB / 1.157 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.567e-05/1.008, allocations: 23.94 kB / 1.157 GB, free: 6.27 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001885/1.01, allocations: 0.8567 MB / 1.158 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.01, allocations: 8.031 kB / 1.158 GB, free: 5.355 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/1.012, allocations: 225.9 kB / 1.158 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/1.013, allocations: 0.5273 MB / 1.159 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/1.013, allocations: 20 kB / 1.159 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/1.013, allocations: 40 kB / 1.159 GB, free: 4.512 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009632/1.014, allocations: 0.546 MB / 1.159 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/1.016, allocations: 0.9911 MB / 1.16 GB, free: 2.824 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/1.016, allocations: 11.84 kB / 1.16 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.299e-05/1.016, allocations: 4 kB / 1.16 GB, free: 2.809 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.298e-05/1.016, allocations: 65.2 kB / 1.16 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005409/1.022, allocations: 5.626 MB / 1.166 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008736/1.022, allocations: 0.5719 MB / 1.166 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/1.023, allocations: 384.7 kB / 1.167 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/1.023, allocations: 4 kB / 1.167 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/1.023, allocations: 42.55 kB / 1.167 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 4.118e-06/1.023, allocations: 4 kB / 1.167 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.002254/1.026, allocations: 1.157 MB / 1.168 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.026, allocations: 55.41 kB / 1.168 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/1.026, allocations: 329.1 kB / 1.168 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/1.026, allocations: 25.7 kB / 1.168 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/1.026, allocations: 375 kB / 1.169 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/1.026, allocations: 149.8 kB / 1.169 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/1.027, allocations: 0 / 1.169 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.027, allocations: 358.8 kB / 1.169 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/1.027, allocations: 229 kB / 1.169 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/1.027, allocations: 400.4 kB / 1.17 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/1.028, allocations: 300.3 kB / 1.17 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.028, allocations: 0 / 1.17 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001671/1.03, allocations: 0.941 MB / 1.171 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.03, allocations: 4.781 kB / 1.171 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.03, allocations: 10.42 kB / 1.171 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000984/1.031, allocations: 303.6 kB / 1.171 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/1.031, allocations: 93.25 kB / 1.171 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006832/1.038, allocations: 6.828 MB / 1.178 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/1.038, allocations: 24.03 kB / 1.178 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/1.038, allocations: 24 kB / 1.178 GB, free: 15.45 MB / 0.7917 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/1.038, allocations: 120.9 kB / 1.178 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/1.039, allocations: 54.06 kB / 1.178 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.04, allocations: 0.8528 MB / 1.179 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.04, allocations: 7.953 kB / 1.179 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.04, allocations: 4 kB / 1.179 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.04, allocations: 3.984 kB / 1.179 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/1.043, allocations: 1.712 MB / 1.181 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.043, allocations: 0 / 1.181 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/1.043, allocations: 47.91 kB / 1.181 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008105/1.044, allocations: 275.4 kB / 1.181 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/1.044, allocations: 4 kB / 1.181 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005851/1.05, allocations: 6.555 MB / 1.187 GB, free: 5.211 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.05, allocations: 0 / 1.187 GB, free: 5.211 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/1.052, allocations: 0.9668 MB / 1.188 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/1.052, allocations: 168.4 kB / 1.189 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/1.052, allocations: 4 kB / 1.189 GB, free: 3.969 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/1.052, allocations: 17.16 kB / 1.189 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/1.052, allocations: 39.89 kB / 1.189 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/1.052, allocations: 12 kB / 1.189 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002937/1.053, allocations: 247 kB / 1.189 GB, free: 3.664 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.01e-07/1.053, allocations: 4 kB / 1.189 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009069/1.054, allocations: 172 kB / 1.189 GB, free: 3.492 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000195/1.054, allocations: 112.8 kB / 1.189 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00165/1.055, allocations: 1.083 MB / 1.19 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.055, allocations: 8.125 kB / 1.19 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.056, allocations: 0.7722 MB / 1.191 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008884/1.057, allocations: 164.7 kB / 1.191 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/1.059, allocations: 0.8755 MB / 1.192 GB, free: 360 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/1.06, allocations: 1.004 MB / 1.193 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003178/1.06, allocations: 95.69 kB / 1.193 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/1.06, allocations: 35.44 kB / 1.193 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of SimCode: time 3.6e-07/1.06, allocations: 0 / 1.193 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.01576/1.076, allocations: 8.109 MB / 1.201 GB, free: 7.242 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)