Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.001164/0.00117, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 195.5 kB / 16.64 MB, free: 6.453 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.654/1.654, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.79/1.79, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001365/0.001365, allocations: 71.19 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.256, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00972/0.2657, allocations: 6.762 MB / 0.7907 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006011/0.2718, allocations: 3.099 MB / 0.7938 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008034/0.2726, allocations: 27.81 kB / 0.7938 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.2755, allocations: 0.9407 MB / 0.7947 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.2771, allocations: 0.5089 MB / 0.7952 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.2785, allocations: 442.3 kB / 0.7956 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.2802, allocations: 1.228 MB / 0.7968 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.2814, allocations: 0.6622 MB / 0.7975 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000908/0.2823, allocations: 482.2 kB / 0.7979 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009386/0.2833, allocations: 0.5098 MB / 0.7984 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.2835, allocations: 68 kB / 0.7985 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008337/0.2843, allocations: 387.2 kB / 0.7989 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.2847, allocations: 307.2 kB / 0.7992 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006443/0.2854, allocations: 449.7 kB / 0.7996 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.2869, allocations: 1.223 MB / 0.8008 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2869, allocations: 3.938 kB / 0.8008 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2869, allocations: 0 / 0.8008 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.633e-05/0.287, allocations: 0 / 0.8008 GB, free: 11.61 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.002422/0.2894, allocations: 1.161 MB / 0.8019 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2895, allocations: 12.03 kB / 0.8019 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.2911, allocations: 243.5 kB / 0.8022 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2922, allocations: 0.5998 MB / 0.8027 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.2922, allocations: 53.67 kB / 0.8028 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.2924, allocations: 60.36 kB / 0.8029 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.294, allocations: 1.089 MB / 0.8039 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.294, allocations: 7.938 kB / 0.8039 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.2941, allocations: 31.98 kB / 0.804 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.2943, allocations: 85.25 kB / 0.804 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.2956, allocations: 0.7504 MB / 0.8048 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.3011, allocations: 5.885 MB / 0.8105 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.3021, allocations: 0.5543 MB / 0.8111 GB, free: 456 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.3026, allocations: 330 kB / 0.8114 GB, free: 124 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.3026, allocations: 4.438 kB / 0.8114 GB, free: 120 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3027, allocations: 46.98 kB / 0.8114 GB, free: 64 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.3027, allocations: 0 / 0.8114 GB, free: 64 kB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003903/0.3066, allocations: 1.978 MB / 0.8134 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3067, allocations: 63.78 kB / 0.8134 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.3073, allocations: 0.5626 MB / 0.814 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.543e-05/0.3074, allocations: 33.7 kB / 0.814 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.3077, allocations: 414.9 kB / 0.8144 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.3079, allocations: 173.6 kB / 0.8146 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.3081, allocations: 126.5 kB / 0.8147 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3082, allocations: 378.7 kB / 0.815 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.3086, allocations: 269.8 kB / 0.8153 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.3092, allocations: 0.4931 MB / 0.8158 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.3102, allocations: 0.8133 MB / 0.8166 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3102, allocations: 0 / 0.8166 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001865/0.3121, allocations: 1.087 MB / 0.8176 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.3121, allocations: 8 kB / 0.8176 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.3122, allocations: 11.94 kB / 0.8177 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008783/0.3131, allocations: 271.5 kB / 0.8179 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.3135, allocations: 127.8 kB / 0.818 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006749/0.3203, allocations: 7.149 MB / 0.825 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.3208, allocations: 31.97 kB / 0.825 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.3209, allocations: 32 kB / 0.8251 GB, free: 1.145 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 (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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004321/0.3213, allocations: 260 kB / 0.8253 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.3215, allocations: 71.16 kB / 0.8254 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.3233, allocations: 0.8847 MB / 0.8263 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.3233, allocations: 4 kB / 0.8263 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.3234, allocations: 11.94 kB / 0.8263 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3234, allocations: 3.984 kB / 0.8263 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.3266, allocations: 1.728 MB / 0.828 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3266, allocations: 0 / 0.828 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.3269, allocations: 63.83 kB / 0.828 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000774/0.3277, allocations: 267.4 kB / 0.8283 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.3277, allocations: 12 kB / 0.8283 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00687/0.3346, allocations: 7.119 MB / 0.8352 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3346, allocations: 0 / 0.8352 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.3364, allocations: 0.9916 MB / 0.8362 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.3369, allocations: 196.1 kB / 0.8364 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.337, allocations: 15.98 kB / 0.8364 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.3375, allocations: 35.84 kB / 0.8364 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3376, allocations: 35.95 kB / 0.8365 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.3377, allocations: 19.98 kB / 0.8365 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006105/0.3383, allocations: 391 kB / 0.8369 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3383, allocations: 0 / 0.8369 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00114/0.3395, allocations: 228 kB / 0.8371 GB, free: 4.086 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 (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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002318/0.3397, allocations: 115.2 kB / 0.8372 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002127/0.3418, allocations: 1.268 MB / 0.8384 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3419, allocations: 0 / 0.8384 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.3432, allocations: 0.8971 MB / 0.8393 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3443, allocations: 213.4 kB / 0.8395 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.3467, allocations: 1.326 MB / 0.8408 GB, free: 116 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.3475, allocations: 1.012 MB / 0.8418 GB, free: 15.07 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004029/0.3479, allocations: 130 kB / 0.8419 GB, free: 14.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.348, allocations: 39.44 kB / 0.842 GB, free: 14.91 MB / 0.67 GB Notification: Performance of SimCode: time 2.8e-07/0.348, allocations: 0 / 0.842 GB, free: 14.91 MB / 0.67 GB Notification: Performance of Templates: time 0.02022/0.3683, allocations: 11.2 MB / 0.8529 GB, free: 3.848 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)