Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008358/0.0008358, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006178/0.006178, allocations: 169 kB / 16.26 MB, free: 6.652 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.583/1.583, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.532/1.532, allocations: 252 MB / 0.5105 GB, free: 4.59 MB / 414.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.0008976/0.0008977, allocations: 16 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7369, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.0155/0.7525, allocations: 11.39 MB / 0.7399 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.7642, allocations: 5.495 MB / 0.7452 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.766, allocations: 35.81 kB / 0.7453 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.7676, allocations: 310 kB / 0.7456 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.7699, allocations: 0.6086 MB / 0.7461 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.7722, allocations: 0.6832 MB / 0.7468 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005038/0.7772, allocations: 3.75 MB / 0.7505 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006502/0.7837, allocations: 4.356 MB / 0.7547 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.7855, allocations: 0.825 MB / 0.7555 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.7877, allocations: 1.117 MB / 0.7566 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003772/0.7881, allocations: 100 kB / 0.7567 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.7893, allocations: 467.2 kB / 0.7572 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.7904, allocations: 0.7404 MB / 0.7579 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.792, allocations: 0.8531 MB / 0.7587 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.7964, allocations: 3.625 MB / 0.7623 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7964, allocations: 4 kB / 0.7623 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7964, allocations: 4 kB / 0.7623 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001236/0.7966, allocations: 0 / 0.7623 GB, free: 8.746 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006689/0.8033, allocations: 1.722 MB / 0.764 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/0.8034, allocations: 8.031 kB / 0.764 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/0.8075, allocations: 0.7285 MB / 0.7647 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/0.8106, allocations: 1.185 MB / 0.7658 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.8107, allocations: 119.6 kB / 0.7659 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008415/0.8116, allocations: 160.1 kB / 0.7661 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006214/0.8178, allocations: 2.94 MB / 0.769 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/0.8179, allocations: 11.89 kB / 0.769 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/0.8182, allocations: 68 kB / 0.769 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003731/0.8186, allocations: 159.1 kB / 0.7692 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/0.8232, allocations: 2.503 MB / 0.7716 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/0.8368, allocations: 10.79 MB / 0.7822 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.8381, allocations: 0.9211 MB / 0.7831 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.8388, allocations: 0.4973 MB / 0.7836 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.8389, allocations: 89.47 kB / 0.7836 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.8389, allocations: 38.94 kB / 0.7837 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=46): time 2.915e-06/0.839, allocations: 0 / 0.7837 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.02623/0.8652, allocations: 7.994 MB / 0.7915 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.8653, allocations: 63.91 kB / 0.7916 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.8667, allocations: 0.9298 MB / 0.7925 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.8668, allocations: 33.7 kB / 0.7925 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005661/0.8674, allocations: 0.7775 MB / 0.7933 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.8676, allocations: 252.5 kB / 0.7935 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.8678, allocations: 81.67 kB / 0.7936 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.868, allocations: 398.8 kB / 0.7939 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.8692, allocations: 0.7794 MB / 0.7947 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.8706, allocations: 1.143 MB / 0.7958 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.8732, allocations: 1.962 MB / 0.7977 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.8732, allocations: 4 kB / 0.7977 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009761/0.883, allocations: 3.678 MB / 0.8013 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003382/0.8834, allocations: 421.1 kB / 0.8017 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/0.8834, allocations: 19.97 kB / 0.8018 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008174/0.8916, allocations: 1.999 MB / 0.8037 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009564/0.8926, allocations: 227.6 kB / 0.8039 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/0.9091, allocations: 9.867 MB / 0.8136 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.9106, allocations: 183.5 kB / 0.8137 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.9108, allocations: 51.92 kB / 0.8138 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.9108, allocations: 8 kB / 0.8138 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008024/0.9188, allocations: 3.006 MB / 0.8167 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.9189, allocations: 12 kB / 0.8167 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005416/0.9243, allocations: 1.291 MB / 0.818 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.9255, allocations: 271.6 kB / 0.8183 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.9366, allocations: 6.002 MB / 0.8241 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.9382, allocations: 159.7 kB / 0.8243 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/0.9384, allocations: 44 kB / 0.8243 GB, free: 7.051 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00192/0.9404, allocations: 0.8908 MB / 0.8252 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.9407, allocations: 86.97 kB / 0.8253 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009498/0.9502, allocations: 3.215 MB / 0.8284 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.9502, allocations: 4 kB / 0.8284 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.9503, allocations: 7.984 kB / 0.8284 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.9503, allocations: 3.984 kB / 0.8284 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/0.9636, allocations: 5.329 MB / 0.8336 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.9637, allocations: 8.031 kB / 0.8336 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.9641, allocations: 103.8 kB / 0.8337 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007368/0.9715, allocations: 1.827 MB / 0.8355 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.9717, allocations: 12 kB / 0.8355 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.9867, allocations: 9.288 MB / 0.8446 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.9868, allocations: 7.938 kB / 0.8446 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008858/0.9956, allocations: 3.092 MB / 0.8476 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/0.9964, allocations: 320 kB / 0.8479 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.9967, allocations: 15.98 kB / 0.8479 GB, free: 14.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.9978, allocations: 135.8 kB / 0.8481 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/0.9983, allocations: 72.34 kB / 0.8481 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.9983, allocations: 20 kB / 0.8482 GB, free: 14.14 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001211/0.9996, allocations: 0.659 MB / 0.8488 GB, free: 13.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9996, allocations: 0 / 0.8488 GB, free: 13.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002869/1.002, allocations: 0.6641 MB / 0.8495 GB, free: 12.82 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002716/1.003, allocations: 127.4 kB / 0.8496 GB, free: 12.69 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008175/1.011, allocations: 3.803 MB / 0.8533 GB, free: 8.848 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.011, allocations: 192 / 0.8533 GB, free: 8.848 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002263/1.013, allocations: 1.254 MB / 0.8545 GB, free: 7.566 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/1.015, allocations: 255.2 kB / 0.8548 GB, free: 7.32 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/1.022, allocations: 4.189 MB / 0.8589 GB, free: 3.082 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/1.023, allocations: 1.719 MB / 0.8605 GB, free: 1.332 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001419/1.025, allocations: 0.5108 MB / 0.861 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/1.025, allocations: 59.42 kB / 0.8611 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of SimCode: time 8.32e-07/1.025, allocations: 0 / 0.8611 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of Templates: time 0.04811/1.073, allocations: 29.06 MB / 0.8895 GB, free: 3.922 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: