Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 116.5 kB / 16.38 MB, free: 6.008 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.001093/0.001093, allocations: 185.7 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 64.12 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2363, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.3915/0.6279, allocations: 6.054 MB / 0.7907 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006816/0.6347, allocations: 3.199 MB / 0.7938 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.6358, allocations: 32.12 kB / 0.7939 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.6391, allocations: 0.9288 MB / 0.7948 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.6411, allocations: 469.7 kB / 0.7952 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.6431, allocations: 491 kB / 0.7957 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.6451, allocations: 1.096 MB / 0.7968 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.6465, allocations: 0.6379 MB / 0.7974 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.6476, allocations: 439.1 kB / 0.7978 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.6487, allocations: 471.5 kB / 0.7983 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.649, allocations: 60 kB / 0.7983 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.6505, allocations: 489.7 kB / 0.7988 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005424/0.651, allocations: 292.2 kB / 0.7991 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009394/0.652, allocations: 394.8 kB / 0.7994 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.6547, allocations: 1.169 MB / 0.8006 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.6548, allocations: 4.594 kB / 0.8006 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.554e-06/0.6548, allocations: 0.6562 kB / 0.8006 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.566e-05/0.6548, allocations: 4 kB / 0.8006 GB, free: 43.38 MB / 0.6544 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.003101/0.658, allocations: 1.046 MB / 0.8016 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.658, allocations: 10.22 kB / 0.8016 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.661, allocations: 222 kB / 0.8018 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.6627, allocations: 0.5812 MB / 0.8024 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.6628, allocations: 50.36 kB / 0.8024 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.663, allocations: 72.22 kB / 0.8025 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.6651, allocations: 1.023 MB / 0.8035 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.6652, allocations: 10.44 kB / 0.8035 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.6653, allocations: 36.14 kB / 0.8036 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.6655, allocations: 65.33 kB / 0.8036 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.6671, allocations: 0.6914 MB / 0.8043 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006223/0.6733, allocations: 5.73 MB / 0.8099 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.6745, allocations: 0.6063 MB / 0.8105 GB, free: 35.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008309/0.6753, allocations: 421.4 kB / 0.8109 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.6754, allocations: 4.844 kB / 0.8109 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/0.6754, allocations: 36.05 kB / 0.8109 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 2.395e-06/0.6754, allocations: 1.375 kB / 0.8109 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.004731/0.6801, allocations: 2.051 MB / 0.8129 GB, free: 34.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.6802, allocations: 60.12 kB / 0.813 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.6808, allocations: 454.2 kB / 0.8134 GB, free: 34.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.6808, allocations: 31.45 kB / 0.8134 GB, free: 34.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.6811, allocations: 389.4 kB / 0.8138 GB, free: 34.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.6812, allocations: 154.1 kB / 0.814 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.6814, allocations: 109.5 kB / 0.8141 GB, free: 33.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6816, allocations: 364.8 kB / 0.8144 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.682, allocations: 244.5 kB / 0.8146 GB, free: 33.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.6825, allocations: 465.1 kB / 0.8151 GB, free: 33.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.6834, allocations: 0.7523 MB / 0.8158 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6834, allocations: 3.469 kB / 0.8158 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001958/0.6854, allocations: 1.064 MB / 0.8169 GB, free: 32.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.6854, allocations: 13 kB / 0.8169 GB, free: 32.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.6854, allocations: 9.094 kB / 0.8169 GB, free: 32.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.6865, allocations: 329.3 kB / 0.8172 GB, free: 32.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.6868, allocations: 97.45 kB / 0.8173 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/0.6932, allocations: 7.511 MB / 0.8246 GB, free: 25.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/0.6938, allocations: 30.28 kB / 0.8247 GB, free: 25.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.6939, allocations: 29.75 kB / 0.8247 GB, free: 25.66 MB / 0.6544 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004041/0.6943, allocations: 243.7 kB / 0.8249 GB, free: 25.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.45e-05/0.6944, allocations: 65.52 kB / 0.825 GB, free: 25.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.6962, allocations: 0.9198 MB / 0.8259 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6962, allocations: 4.562 kB / 0.8259 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.6962, allocations: 4.656 kB / 0.8259 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.6962, allocations: 2.531 kB / 0.8259 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.6992, allocations: 1.703 MB / 0.8276 GB, free: 24.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6992, allocations: 4 kB / 0.8276 GB, free: 24.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.6994, allocations: 43.45 kB / 0.8276 GB, free: 24.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009687/0.7004, allocations: 327.5 kB / 0.8279 GB, free: 24.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.7004, allocations: 11.72 kB / 0.8279 GB, free: 24.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006061/0.7065, allocations: 7.506 MB / 0.8353 GB, free: 17.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7065, allocations: 2.094 kB / 0.8353 GB, free: 17.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.7083, allocations: 1.01 MB / 0.8362 GB, free: 17.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.7085, allocations: 171 kB / 0.8364 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.7086, allocations: 15.72 kB / 0.8364 GB, free: 17.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.7089, allocations: 20.58 kB / 0.8364 GB, free: 17.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.7091, allocations: 40.3 kB / 0.8365 GB, free: 17.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.7091, allocations: 13.19 kB / 0.8365 GB, free: 17.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003512/0.7095, allocations: 306.5 kB / 0.8368 GB, free: 16.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7095, allocations: 0 / 0.8368 GB, free: 16.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009303/0.7104, allocations: 198 kB / 0.837 GB, free: 16.85 MB / 0.6544 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001465/0.7105, allocations: 116.7 kB / 0.8371 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.7125, allocations: 1.209 MB / 0.8383 GB, free: 16.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7126, allocations: 0 / 0.8383 GB, free: 16.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.7137, allocations: 0.8689 MB / 0.8391 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.7148, allocations: 195.7 kB / 0.8393 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.717, allocations: 1.288 MB / 0.8406 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.7176, allocations: 0.9886 MB / 0.8415 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.7177, allocations: 39.47 kB / 0.8416 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.7177, allocations: 0 / 0.8416 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.02717/0.7449, allocations: 18.45 MB / 0.8596 GB, free: 6.695 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)