Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007917/0.0007916, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008636/0.0008637, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.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.679/1.679, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004988/0.0004989, allocations: 17.91 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006552/0.2516, allocations: 5.963 MB / 0.7931 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004661/0.2563, allocations: 2.878 MB / 0.7959 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/0.2569, allocations: 23.81 kB / 0.7959 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.2573, allocations: 138.8 kB / 0.7961 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.2584, allocations: 417.7 kB / 0.7965 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.2593, allocations: 321.4 kB / 0.7968 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.2605, allocations: 1.314 MB / 0.7981 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.2622, allocations: 0.9337 MB / 0.799 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.2628, allocations: 390.4 kB / 0.7994 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.2633, allocations: 486.2 kB / 0.7998 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.2634, allocations: 32 kB / 0.7998 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.2638, allocations: 191.7 kB / 0.8 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.2641, allocations: 267.2 kB / 0.8003 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.2642, allocations: 177.3 kB / 0.8005 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007631/0.265, allocations: 0.904 MB / 0.8013 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.265, allocations: 4 kB / 0.8013 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.042e-06/0.265, allocations: 0 / 0.8013 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.2651, allocations: 0 / 0.8013 GB, free: 13.47 MB / 0.6231 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.001462/0.2665, allocations: 1.005 MB / 0.8023 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/0.2666, allocations: 8.031 kB / 0.8023 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.268, allocations: 246.5 kB / 0.8026 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.2687, allocations: 0.5287 MB / 0.8031 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.2688, allocations: 53.28 kB / 0.8031 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.2689, allocations: 67.89 kB / 0.8032 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.2704, allocations: 1.069 MB / 0.8042 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.2705, allocations: 19.92 kB / 0.8043 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-05/0.2705, allocations: 27.98 kB / 0.8043 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.2707, allocations: 81.27 kB / 0.8044 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.272, allocations: 0.7465 MB / 0.8051 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006187/0.2782, allocations: 5.897 MB / 0.8109 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/0.2792, allocations: 0.5553 MB / 0.8114 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.2796, allocations: 333 kB / 0.8117 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.2796, allocations: 4.438 kB / 0.8117 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.2797, allocations: 43 kB / 0.8118 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.775e-06/0.2797, allocations: 0 / 0.8118 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003663/0.2834, allocations: 1.982 MB / 0.8137 GB, free: 76 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.2834, allocations: 63.84 kB / 0.8138 GB, free: 0 / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.284, allocations: 0.5469 MB / 0.8143 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.2841, allocations: 33.7 kB / 0.8143 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.2843, allocations: 422.8 kB / 0.8147 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.2845, allocations: 173.5 kB / 0.8149 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.2845, allocations: 12 kB / 0.8149 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2847, allocations: 370.8 kB / 0.8153 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.2851, allocations: 277.8 kB / 0.8155 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/0.2856, allocations: 496.9 kB / 0.816 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.2861, allocations: 346 kB / 0.8163 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2861, allocations: 0 / 0.8163 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00165/0.2878, allocations: 1.087 MB / 0.8174 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.2878, allocations: 8 kB / 0.8174 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2878, allocations: 4 kB / 0.8174 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/0.2886, allocations: 279.9 kB / 0.8177 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.2891, allocations: 123.8 kB / 0.8178 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/0.2952, allocations: 6.607 MB / 0.8242 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.2958, allocations: 39.97 kB / 0.8243 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.2958, allocations: 28 kB / 0.8243 GB, free: 4.504 MB / 0.6387 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.0004304/0.2963, allocations: 253.5 kB / 0.8245 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.2964, allocations: 67.25 kB / 0.8246 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.298, allocations: 0.8846 MB / 0.8255 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.298, allocations: 7.984 kB / 0.8255 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.298, allocations: 4 kB / 0.8255 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.298, allocations: 0 / 0.8255 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.3005, allocations: 1.725 MB / 0.8272 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3005, allocations: 0 / 0.8272 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.3008, allocations: 55.95 kB / 0.8272 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006881/0.3015, allocations: 271.2 kB / 0.8275 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.3015, allocations: 12 kB / 0.8275 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005995/0.3075, allocations: 6.584 MB / 0.8339 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3075, allocations: 3.938 kB / 0.8339 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.309, allocations: 0.9838 MB / 0.8349 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.3093, allocations: 196.2 kB / 0.8351 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.3095, allocations: 8 kB / 0.8351 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.3098, allocations: 27.97 kB / 0.8351 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3099, allocations: 47.83 kB / 0.8351 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.31, allocations: 12 kB / 0.8352 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004786/0.3105, allocations: 387.1 kB / 0.8355 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3105, allocations: 0 / 0.8355 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009156/0.3114, allocations: 224 kB / 0.8357 GB, free: 8.062 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 (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.0001826/0.3116, allocations: 111.2 kB / 0.8358 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.3136, allocations: 1.271 MB / 0.8371 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3137, allocations: 0 / 0.8371 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.3148, allocations: 0.8893 MB / 0.838 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3159, allocations: 198.7 kB / 0.8381 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.3183, allocations: 1.59 MB / 0.8397 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.319, allocations: 1.013 MB / 0.8407 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004498/0.3195, allocations: 126 kB / 0.8408 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3196, allocations: 43.44 kB / 0.8409 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of SimCode: time 8.12e-07/0.3196, allocations: 0 / 0.8409 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of Templates: time 0.01902/0.3386, allocations: 10.26 MB / 0.8509 GB, free: 8.504 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: