Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001043/0.001043, allocations: 100.1 kB / 16.4 MB, free: 5.941 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.001147/0.001148, allocations: 188.8 kB / 17.34 MB, free: 5.574 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7495/0.7495, allocations: 115.3 MB / 406.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001898, allocations: 67.09 kB / 0.5577 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2029, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01688/0.2198, allocations: 11.94 MB / 0.6438 GB, free: 8.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.2315, allocations: 5.708 MB / 0.6493 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.2334, allocations: 39.88 kB / 0.6494 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.2373, allocations: 1.045 MB / 0.6504 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.2404, allocations: 0.6802 MB / 0.6511 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.2438, allocations: 0.9703 MB / 0.652 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003875/0.2477, allocations: 2.594 MB / 0.6545 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005414/0.2531, allocations: 3.791 MB / 0.6582 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.2553, allocations: 1.2 MB / 0.6594 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.2575, allocations: 1.336 MB / 0.6607 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003803/0.2579, allocations: 252 kB / 0.661 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.2591, allocations: 0.5618 MB / 0.6615 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000954/0.26, allocations: 0.9395 MB / 0.6624 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.2613, allocations: 1.066 MB / 0.6635 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.2652, allocations: 3.857 MB / 0.6672 GB, free: 296 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2652, allocations: 0 / 0.6672 GB, free: 296 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2652, allocations: 0 / 0.6672 GB, free: 296 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.024e-05/0.2653, allocations: 0 / 0.6672 GB, free: 296 kB / 0.4981 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.004268/0.2696, allocations: 2.096 MB / 0.6693 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2696, allocations: 8.031 kB / 0.6693 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.2731, allocations: 0.7401 MB / 0.67 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.2753, allocations: 1.22 MB / 0.6712 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/0.2755, allocations: 123.6 kB / 0.6713 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.2758, allocations: 160 kB / 0.6715 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00557/0.2814, allocations: 2.96 MB / 0.6744 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.2814, allocations: 0 / 0.6744 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.2816, allocations: 67.98 kB / 0.6744 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004002/0.282, allocations: 175 kB / 0.6746 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004734/0.2868, allocations: 2.515 MB / 0.677 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.3008, allocations: 10.73 MB / 0.6875 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.3026, allocations: 0.9563 MB / 0.6885 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008549/0.3034, allocations: 0.5171 MB / 0.689 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.3036, allocations: 89.47 kB / 0.689 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3036, allocations: 38.94 kB / 0.6891 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=46): time 2.866e-06/0.3036, allocations: 4 kB / 0.6891 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70): time 0.03091/0.3346, allocations: 8.074 MB / 0.697 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3346, allocations: 59.97 kB / 0.697 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.3359, allocations: 0.9259 MB / 0.6979 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.336, allocations: 37.7 kB / 0.698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/0.3365, allocations: 0.7698 MB / 0.6987 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.3367, allocations: 248.5 kB / 0.699 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004059/0.3371, allocations: 214.8 kB / 0.6992 GB, free: 14.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3373, allocations: 398.7 kB / 0.6995 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.3387, allocations: 0.8101 MB / 0.7003 GB, free: 13.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.3403, allocations: 1.151 MB / 0.7015 GB, free: 11.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002905/0.3432, allocations: 1.997 MB / 0.7034 GB, free: 9.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3432, allocations: 4 kB / 0.7034 GB, free: 9.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009887/0.3531, allocations: 3.67 MB / 0.707 GB, free: 5.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.3531, allocations: 12 kB / 0.707 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.3532, allocations: 15.98 kB / 0.707 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007687/0.3609, allocations: 1.892 MB / 0.7089 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.3619, allocations: 231.6 kB / 0.7091 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/0.3782, allocations: 10.58 MB / 0.7194 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.3799, allocations: 183.6 kB / 0.7196 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.38, allocations: 47.98 kB / 0.7196 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002625/0.3826, allocations: 1.521 MB / 0.7211 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001517/0.3842, allocations: 1.132 MB / 0.7222 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002939/0.3871, allocations: 1.935 MB / 0.7241 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.124e-06/0.3871, allocations: 4 kB / 0.7241 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008276/0.3954, allocations: 3.1 MB / 0.7272 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3955, allocations: 11.94 kB / 0.7272 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.3955, allocations: 12 kB / 0.7272 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004947/0.4004, allocations: 1.199 MB / 0.7284 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.4018, allocations: 279.5 kB / 0.7286 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008816/0.4106, allocations: 5.848 MB / 0.7343 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4121, allocations: 175.7 kB / 0.7345 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.4122, allocations: 47.98 kB / 0.7345 GB, free: 9 MB / 0.5762 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.0003664/0.4126, allocations: 247.8 kB / 0.7348 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.4128, allocations: 94.91 kB / 0.7349 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009165/0.422, allocations: 3.164 MB / 0.738 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.422, allocations: 8.078 kB / 0.738 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.422, allocations: 4 kB / 0.738 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.422, allocations: 3.984 kB / 0.738 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.4336, allocations: 5.286 MB / 0.7431 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.4336, allocations: 7.984 kB / 0.7431 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.4341, allocations: 91.86 kB / 0.7432 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006665/0.4408, allocations: 1.729 MB / 0.7449 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.4409, allocations: 12 kB / 0.7449 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/0.4557, allocations: 9.982 MB / 0.7547 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4557, allocations: 0 / 0.7547 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008144/0.4639, allocations: 3.027 MB / 0.7576 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006175/0.4645, allocations: 319.9 kB / 0.7579 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.4648, allocations: 15.98 kB / 0.758 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.4659, allocations: 131.8 kB / 0.7581 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.4662, allocations: 76.34 kB / 0.7582 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.4662, allocations: 16 kB / 0.7582 GB, free: 308 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.3951/0.8613, allocations: 0.6733 MB / 0.7588 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.02e-07/0.8614, allocations: 0 / 0.7588 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003673/0.865, allocations: 0.6908 MB / 0.7595 GB, free: 116.6 MB / 0.5919 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.0003057/0.8654, allocations: 128 kB / 0.7596 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007388/0.8728, allocations: 3.542 MB / 0.7631 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.8728, allocations: 0.8438 kB / 0.7631 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.8752, allocations: 1.247 MB / 0.7643 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.8769, allocations: 288.1 kB / 0.7646 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006574/0.8835, allocations: 3.441 MB / 0.7679 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.8858, allocations: 1.724 MB / 0.7696 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001715/0.8875, allocations: 0.532 MB / 0.7701 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.8878, allocations: 64.86 kB / 0.7702 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.8878, allocations: 0 / 0.7702 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.04391/0.9317, allocations: 31.97 MB / 0.8014 GB, free: 93.76 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)