Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 111 kB / 17.33 MB, free: 5.043 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.001231/0.001231, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.367/1.367, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8426/0.8426, allocations: 128.4 MB / 426.1 MB, free: 7.227 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 68.64 kB / 0.5912 GB, free: 21.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1467, allocations: 83.26 MB / 0.6725 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007964/0.1546, allocations: 5.212 MB / 0.6776 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006151/0.1608, allocations: 3.841 MB / 0.6813 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/0.1611, allocations: 11.94 kB / 0.6813 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.163, allocations: 0.5795 MB / 0.6819 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.1643, allocations: 485.7 kB / 0.6823 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.165, allocations: 270 kB / 0.6826 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.1661, allocations: 0.693 MB / 0.6833 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005935/0.1667, allocations: 429.7 kB / 0.6837 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.1672, allocations: 375 kB / 0.684 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.1677, allocations: 314.9 kB / 0.6843 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.691e-05/0.1678, allocations: 44 kB / 0.6844 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.1683, allocations: 315.4 kB / 0.6847 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.1685, allocations: 175.5 kB / 0.6849 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.1688, allocations: 250.8 kB / 0.6851 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.1698, allocations: 0.837 MB / 0.6859 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1698, allocations: 4 kB / 0.6859 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1698, allocations: 4 kB / 0.6859 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.1698, allocations: 0 / 0.6859 GB, free: 6.098 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001501/0.1713, allocations: 0.8329 MB / 0.6867 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1714, allocations: 8.031 kB / 0.6867 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.1743, allocations: 0.6948 MB / 0.6874 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008197/0.1751, allocations: 484.6 kB / 0.6879 GB, free: 4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1751, allocations: 25.02 kB / 0.6879 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/0.1752, allocations: 32.12 kB / 0.6879 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.1769, allocations: 0.8356 MB / 0.6888 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1769, allocations: 0 / 0.6888 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/0.177, allocations: 12 kB / 0.6888 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.1771, allocations: 64.52 kB / 0.6888 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.1792, allocations: 0.935 MB / 0.6897 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.1833, allocations: 2.867 MB / 0.6925 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.185, allocations: 0.5448 MB / 0.6931 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007295/0.1857, allocations: 296.6 kB / 0.6934 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.1858, allocations: 81.11 kB / 0.6934 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.1859, allocations: 42.56 kB / 0.6935 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.1859, allocations: 0 / 0.6935 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36): time 0.01454/0.2004, allocations: 3.874 MB / 0.6973 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.2005, allocations: 59.41 kB / 0.6973 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/0.201, allocations: 425.6 kB / 0.6977 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.2011, allocations: 33.7 kB / 0.6978 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.2013, allocations: 244.6 kB / 0.698 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.2014, allocations: 134.8 kB / 0.6981 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.2016, allocations: 86.11 kB / 0.6982 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2018, allocations: 350.8 kB / 0.6985 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.2028, allocations: 438.2 kB / 0.6989 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.2039, allocations: 0.5008 MB / 0.6994 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.2059, allocations: 0.9226 MB / 0.7003 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2059, allocations: 0 / 0.7003 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005889/0.2118, allocations: 1.83 MB / 0.7021 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.2119, allocations: 8.188 kB / 0.7021 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.2119, allocations: 4 kB / 0.7021 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004377/0.2163, allocations: 0.9651 MB / 0.7031 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.217, allocations: 131.8 kB / 0.7032 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.2282, allocations: 6.653 MB / 0.7097 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009129/0.2292, allocations: 111.8 kB / 0.7098 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/0.2292, allocations: 19.98 kB / 0.7098 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001289/0.2305, allocations: 0.6217 MB / 0.7104 GB, free: 12.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001043/0.2315, allocations: 0.4888 MB / 0.7109 GB, free: 11.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002035/0.2336, allocations: 0.8899 MB / 0.7118 GB, free: 10.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.271e-06/0.2336, allocations: 7.984 kB / 0.7118 GB, free: 10.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004998/0.2386, allocations: 1.61 MB / 0.7134 GB, free: 9.102 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2386, allocations: 8 kB / 0.7134 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2386, allocations: 4.125 kB / 0.7134 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002982/0.2416, allocations: 0.7038 MB / 0.7141 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.2423, allocations: 131.8 kB / 0.7142 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008395/0.2507, allocations: 5.817 MB / 0.7199 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.2515, allocations: 111.8 kB / 0.72 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.2516, allocations: 15.98 kB / 0.72 GB, free: 2.027 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * 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: 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.2518, allocations: 205.7 kB / 0.7202 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2519, allocations: 51.64 kB / 0.7202 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005436/0.2574, allocations: 1.72 MB / 0.7219 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2574, allocations: 4 kB / 0.7219 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2574, allocations: 0 / 0.7219 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2574, allocations: 0 / 0.7219 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/0.2637, allocations: 2.398 MB / 0.7243 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.2637, allocations: 0 / 0.7243 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.2641, allocations: 83.98 kB / 0.7243 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003884/0.268, allocations: 0.8871 MB / 0.7252 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/0.2681, allocations: 11.98 kB / 0.7252 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009841/0.2779, allocations: 6.319 MB / 0.7314 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2779, allocations: 3.938 kB / 0.7314 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/0.2831, allocations: 1.669 MB / 0.733 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.2835, allocations: 180.8 kB / 0.7332 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.2836, allocations: 8 kB / 0.7332 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.2842, allocations: 83.86 kB / 0.7333 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.2845, allocations: 43.83 kB / 0.7333 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.2845, allocations: 15.98 kB / 0.7333 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005012/0.285, allocations: 327.1 kB / 0.7336 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.285, allocations: 0 / 0.7336 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001127/0.2861, allocations: 267.9 kB / 0.7339 GB, free: 3.336 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002461/0.2864, allocations: 115.1 kB / 0.734 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006658/0.293, allocations: 2.364 MB / 0.7363 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.293, allocations: 4 kB / 0.7363 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002588/0.2956, allocations: 0.9265 MB / 0.7372 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.2964, allocations: 131.2 kB / 0.7374 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.2988, allocations: 1.248 MB / 0.7386 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.2995, allocations: 0.9529 MB / 0.7395 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005088/0.3, allocations: 155.2 kB / 0.7397 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3001, allocations: 35.42 kB / 0.7397 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.3001, allocations: 0 / 0.7397 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.3163/0.6164, allocations: 17.01 MB / 0.7563 GB, free: 75.28 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) [Timeout 480]