Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.007/3.007, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.00161/0.001609, allocations: 182.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.22/2.22, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 90.97 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006543/0.0006546, allocations: 11.66 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2328, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008468/0.2413, allocations: 5.776 MB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006197/0.2476, allocations: 2.918 MB / 0.9867 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008365/0.2485, allocations: 23.81 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.249, allocations: 119.1 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.2507, allocations: 418.7 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.2523, allocations: 337.1 kB / 0.9876 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.2541, allocations: 0.7428 MB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.2565, allocations: 0.9228 MB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008596/0.2574, allocations: 354.7 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007265/0.2581, allocations: 398.5 kB / 0.9899 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.2583, allocations: 36 kB / 0.9899 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.2589, allocations: 147.8 kB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.2592, allocations: 247.3 kB / 0.9903 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.2594, allocations: 181.2 kB / 0.9905 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.2606, allocations: 0.8573 MB / 0.9913 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2607, allocations: 0 / 0.9913 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2607, allocations: 7.938 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.2607, allocations: 3.938 kB / 0.9913 GB, free: 14.84 MB / 0.6198 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.002304/0.263, allocations: 1.009 MB / 0.9923 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2631, allocations: 12.03 kB / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.2651, allocations: 222.7 kB / 0.9925 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.2666, allocations: 0.5327 MB / 0.9931 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.2667, allocations: 53.3 kB / 0.9931 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.2668, allocations: 63.98 kB / 0.9932 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.2691, allocations: 1.069 MB / 0.9942 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.2692, allocations: 8 kB / 0.9942 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.2694, allocations: 31.98 kB / 0.9943 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002536/0.2696, allocations: 89.19 kB / 0.9943 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.2716, allocations: 0.7464 MB / 0.9951 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007399/0.279, allocations: 5.897 MB / 1.001 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.2806, allocations: 0.5514 MB / 1.001 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.274e-05/0.2807, allocations: 8.438 kB / 1.001 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2808, allocations: 43 kB / 1.001 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.126e-06/0.2808, allocations: 0 / 1.001 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.00587/0.2866, allocations: 1.984 MB / 1.003 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.2867, allocations: 59.84 kB / 1.003 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008392/0.2876, allocations: 0.5586 MB / 1.004 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/0.2877, allocations: 37.7 kB / 1.004 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.288, allocations: 414.9 kB / 1.004 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.2882, allocations: 169.6 kB / 1.005 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.2883, allocations: 16 kB / 1.005 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2884, allocations: 374.8 kB / 1.005 GB, free: 136 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007229/0.2891, allocations: 269.8 kB / 1.005 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009716/0.2901, allocations: 497 kB / 1.006 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009191/0.291, allocations: 342 kB / 1.006 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.2911, allocations: 4 kB / 1.006 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003472/0.2946, allocations: 1.079 MB / 1.007 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.2946, allocations: 8 kB / 1.007 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.2947, allocations: 8 kB / 1.007 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.2963, allocations: 283.6 kB / 1.007 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.2973, allocations: 123.8 kB / 1.007 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.308, allocations: 6.697 MB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3091, allocations: 48.02 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.979e-05/0.3092, allocations: 24 kB / 1.014 GB, free: 6.129 MB / 0.6355 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.0005648/0.3098, allocations: 249.6 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.31, allocations: 79.14 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.3127, allocations: 0.8925 MB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.3128, allocations: 7.938 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.3128, allocations: 4 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.3128, allocations: 3.984 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.3175, allocations: 1.717 MB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.3175, allocations: 7.938 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/0.3181, allocations: 72.08 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.3195, allocations: 263.2 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.3196, allocations: 12 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.3298, allocations: 6.677 MB / 1.024 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.3298, allocations: 4.766 kB / 1.024 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.3326, allocations: 1.056 MB / 1.025 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.3332, allocations: 192.2 kB / 1.025 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.3333, allocations: 12 kB / 1.025 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.334, allocations: 31.92 kB / 1.025 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.3342, allocations: 47.88 kB / 1.025 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/0.3343, allocations: 16 kB / 1.025 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007076/0.335, allocations: 383.1 kB / 1.025 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.7e-07/0.335, allocations: 0 / 1.025 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001219/0.3362, allocations: 224 kB / 1.026 GB, free: 9.438 MB / 0.6511 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.0002227/0.3365, allocations: 115.2 kB / 1.026 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003249/0.3397, allocations: 1.271 MB / 1.027 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.3398, allocations: 128 / 1.027 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.342, allocations: 0.8935 MB / 1.028 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.3438, allocations: 194.7 kB / 1.028 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.3476, allocations: 1.592 MB / 1.03 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009505/0.3486, allocations: 1.024 MB / 1.031 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008427/0.3494, allocations: 129.9 kB / 1.031 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3496, allocations: 39.44 kB / 1.031 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/0.3496, allocations: 0 / 1.031 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of Templates: time 0.0323/0.382, allocations: 10.28 MB / 1.041 GB, free: 9.844 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)