Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001373/0.001374, allocations: 191.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002539/0.002539, allocations: 282.7 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 99.02 kB / 0.6059 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1818, allocations: 89.14 MB / 0.693 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01905/0.2009, allocations: 14.68 MB / 0.7073 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.2182, allocations: 10.25 MB / 0.7173 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.2198, allocations: 55.62 kB / 0.7174 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004484/0.2243, allocations: 1.58 MB / 0.7189 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00544/0.2297, allocations: 1.638 MB / 0.7205 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.2318, allocations: 0.6853 MB / 0.7212 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004405/0.2362, allocations: 2.762 MB / 0.7239 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/0.2387, allocations: 1.582 MB / 0.7254 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.2412, allocations: 1.523 MB / 0.7269 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.2434, allocations: 1.206 MB / 0.7281 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.2437, allocations: 160 kB / 0.7283 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.2454, allocations: 0.7877 MB / 0.729 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006911/0.2461, allocations: 0.5998 MB / 0.7296 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.2473, allocations: 0.9522 MB / 0.7305 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003692/0.251, allocations: 2.788 MB / 0.7333 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.251, allocations: 0 / 0.7333 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.251, allocations: 0 / 0.7333 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.226e-05/0.2511, allocations: 0 / 0.7333 GB, free: 11.3 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004541/0.2556, allocations: 2.17 MB / 0.7354 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2557, allocations: 8.031 kB / 0.7354 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.2675, allocations: 2.112 MB / 0.7375 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/0.2706, allocations: 1.21 MB / 0.7386 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.2707, allocations: 86.69 kB / 0.7387 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.271, allocations: 128 kB / 0.7388 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006501/0.2776, allocations: 2.67 MB / 0.7414 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.2776, allocations: 15.86 kB / 0.7415 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.2778, allocations: 55.98 kB / 0.7415 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006743/0.2785, allocations: 194.1 kB / 0.7417 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008923/0.2875, allocations: 2.791 MB / 0.7444 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/0.3052, allocations: 10.5 MB / 0.7547 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/0.312, allocations: 2.336 MB / 0.757 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.3153, allocations: 1.272 MB / 0.7582 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-05/0.3154, allocations: 9 kB / 0.7582 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.3155, allocations: 51.56 kB / 0.7583 GB, free: 0.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.925e-06/0.3155, allocations: 0 / 0.7583 GB, free: 0.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.3721/0.6876, allocations: 16.48 MB / 0.7744 GB, free: 62.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.6877, allocations: 71.81 kB / 0.7744 GB, free: 62.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.6892, allocations: 1.176 MB / 0.7756 GB, free: 62.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.6894, allocations: 51.83 kB / 0.7756 GB, free: 62.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.6898, allocations: 0.7439 MB / 0.7764 GB, free: 61.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/0.6902, allocations: 0.5124 MB / 0.7769 GB, free: 61.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005439/0.6907, allocations: 284.5 kB / 0.7771 GB, free: 61.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.6908, allocations: 305.8 kB / 0.7774 GB, free: 60.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/0.694, allocations: 1.506 MB / 0.7789 GB, free: 60.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/0.6973, allocations: 1.786 MB / 0.7806 GB, free: 59.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006456/0.7038, allocations: 3.373 MB / 0.7839 GB, free: 57.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.7038, allocations: 6.562 kB / 0.7839 GB, free: 57.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01214/0.716, allocations: 5.278 MB / 0.7891 GB, free: 54.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.716, allocations: 7.906 kB / 0.7891 GB, free: 54.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.7161, allocations: 7.094 kB / 0.7891 GB, free: 54.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006613/0.7227, allocations: 1.886 MB / 0.7909 GB, free: 53.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.7246, allocations: 415.4 kB / 0.7913 GB, free: 53.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02292/0.7475, allocations: 24.16 MB / 0.8149 GB, free: 33.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/0.7501, allocations: 303.5 kB / 0.8152 GB, free: 33.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.7503, allocations: 78 kB / 0.8153 GB, free: 33.03 MB / 0.545 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007485/0.7511, allocations: 458.5 kB / 0.8157 GB, free: 32.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.7514, allocations: 173.9 kB / 0.8159 GB, free: 32.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.7631, allocations: 5.319 MB / 0.8211 GB, free: 27.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.7632, allocations: 16 kB / 0.8211 GB, free: 27.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.618e-05/0.7632, allocations: 16 kB / 0.8211 GB, free: 27.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.7632, allocations: 15.91 kB / 0.8211 GB, free: 27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.7768, allocations: 7.431 MB / 0.8284 GB, free: 19.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.7768, allocations: 7.984 kB / 0.8284 GB, free: 19.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.7783, allocations: 347.7 kB / 0.8287 GB, free: 19.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005378/0.7837, allocations: 1.72 MB / 0.8304 GB, free: 17.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/0.7839, allocations: 43.97 kB / 0.8305 GB, free: 17.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02294/0.8069, allocations: 23.31 MB / 0.8532 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.8069, allocations: 8.922 kB / 0.8532 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/0.8194, allocations: 4.886 MB / 0.858 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000984/0.8204, allocations: 498.6 kB / 0.8585 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.8207, allocations: 31.98 kB / 0.8585 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.8227, allocations: 315.5 kB / 0.8588 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005271/0.8232, allocations: 154.9 kB / 0.859 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.8234, allocations: 55.97 kB / 0.859 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001108/0.8245, allocations: 0.7937 MB / 0.8598 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.072e-06/0.8245, allocations: 0 / 0.8598 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002111/0.8266, allocations: 0.653 MB / 0.8604 GB, free: 1.473 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002964/0.8269, allocations: 143.2 kB / 0.8606 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01222/0.8392, allocations: 5.43 MB / 0.8659 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.8392, allocations: 0 / 0.8659 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007422/0.8466, allocations: 3.353 MB / 0.8691 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.8491, allocations: 0.5571 MB / 0.8697 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009256/0.8584, allocations: 4.996 MB / 0.8746 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.8598, allocations: 1.571 MB / 0.8761 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001672/0.8615, allocations: 390.8 kB / 0.8765 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.8619, allocations: 107.4 kB / 0.8766 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.8619, allocations: 0 / 0.8766 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of Templates: time 0.07507/0.937, allocations: 45.07 MB / 0.9206 GB, free: 4.219 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)