Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.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/PowerGrids 1.0.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2") translateModel(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 111 kB / 18.41 MB, free: 4.664 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.001787/0.001787, allocations: 188.9 kB / 19.35 MB, free: 3.734 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.588/1.588, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06748/0.06748, allocations: 14.17 MB / 286.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.786/3.786, allocations: 461.2 MB / 0.7801 GB, free: 107.2 MB / 0.6545 GB 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: ScalableTestGrids requested package PowerGrids of version 1.0.2. PowerGrids 1.0.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 84.72 kB / 1.131 GB, free: 22.41 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3923, allocations: 172.1 MB / 1.299 GB, free: 7.617 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.2408/0.6331, allocations: 244.4 MB / 1.538 GB, free: 2.309 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 1.796/2.429, allocations: 82.29 MB / 1.618 GB, free: 2.688 MB / 1.265 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05385/2.483, allocations: 0.6832 MB / 1.619 GB, free: 2.688 MB / 1.265 GB Notification: Performance of NFTyping.typeComponents: time 0.04794/2.531, allocations: 12.77 MB / 1.631 GB, free: 2.422 MB / 1.265 GB Notification: Performance of NFTyping.typeBindings: time 0.1251/2.656, allocations: 36.85 MB / 1.667 GB, free: 1.105 MB / 1.265 GB Notification: Performance of NFTyping.typeClassSections: time 0.02177/2.678, allocations: 3.947 MB / 1.671 GB, free: 0.875 MB / 1.265 GB Notification: Performance of NFFlatten.flatten: time 0.1431/2.821, allocations: 77.41 MB / 1.747 GB, free: 6.434 MB / 1.312 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01551/2.837, allocations: 2.92 MB / 1.75 GB, free: 4.848 MB / 1.312 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0639/2.901, allocations: 25.92 MB / 1.775 GB, free: 5.711 MB / 1.327 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06542/2.966, allocations: 27.85 MB / 1.802 GB, free: 10.73 MB / 1.358 GB Notification: Performance of NFPackage.collectConstants: time 0.0174/2.983, allocations: 2.688 MB / 1.805 GB, free: 8.039 MB / 1.358 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04445/3.028, allocations: 6.315 MB / 1.811 GB, free: 1.727 MB / 1.358 GB Notification: Performance of NFScalarize.scalarize: time 0.01674/3.045, allocations: 6.822 MB / 1.817 GB, free: 11.15 MB / 1.374 GB Notification: Performance of NFVerifyModel.verify: time 0.06392/3.109, allocations: 23.28 MB / 1.84 GB, free: 4.039 MB / 1.39 GB Notification: Performance of NFConvertDAE.convert: time 0.1235/3.232, allocations: 55.23 MB / 1.894 GB, free: 15.13 MB / 1.452 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/3.232, allocations: 0 / 1.894 GB, free: 15.13 MB / 1.452 GB Notification: Performance of FrontEnd: time 2.175e-06/3.232, allocations: 0 / 1.894 GB, free: 15.13 MB / 1.452 GB Notification: Performance of Transformations before backend: time 0.002279/3.234, allocations: 0 / 1.894 GB, free: 15.13 MB / 1.452 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8204 * Number of variables: 8204 Notification: Performance of Generate backend data structure: time 0.2673/3.502, allocations: 60.26 MB / 1.953 GB, free: 3.457 MB / 1.499 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/3.502, allocations: 12.03 kB / 1.953 GB, free: 3.445 MB / 1.499 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04201/3.544, allocations: 6.347 MB / 1.959 GB, free: 13.07 MB / 1.515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07953/3.623, allocations: 22.5 MB / 1.981 GB, free: 6.859 MB / 1.53 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003591/3.627, allocations: 2.321 MB / 1.983 GB, free: 4.535 MB / 1.53 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01264/3.639, allocations: 3.004 MB / 1.986 GB, free: 1.527 MB / 1.53 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.108/3.747, allocations: 32.16 MB / 2.018 GB, free: 112 kB / 1.562 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002032/3.75, allocations: 59.44 kB / 2.018 GB, free: 52 kB / 1.562 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01008/3.76, allocations: 1.293 MB / 2.019 GB, free: 14.76 MB / 1.577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008348/3.76, allocations: 0.7773 MB / 2.02 GB, free: 13.98 MB / 1.577 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09845/3.859, allocations: 31.47 MB / 2.051 GB, free: 14.48 MB / 1.608 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.321/5.18, allocations: 218 MB / 2.263 GB, free: 0.6055 GB / 1.796 GB Notification: Performance of preOpt comSubExp (simulation): time 0.125/5.305, allocations: 50.83 MB / 2.313 GB, free: 0.5889 GB / 1.796 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03084/5.336, allocations: 12.4 MB / 2.325 GB, free: 0.5839 GB / 1.796 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004113/5.34, allocations: 394.7 kB / 2.326 GB, free: 0.5838 GB / 1.796 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005577/5.341, allocations: 384.4 kB / 2.326 GB, free: 0.5836 GB / 1.796 GB Notification: Performance of pre-optimization done (n=3389): time 3.701e-05/5.341, allocations: 0.6875 kB / 2.326 GB, free: 0.5836 GB / 1.796 GB Notification: Performance of matching and sorting (n=3389): time 0.1224/5.463, allocations: 40.93 MB / 2.366 GB, free: 0.5689 GB / 1.796 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/5.463, allocations: 394.8 kB / 2.366 GB, free: 0.5688 GB / 1.796 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05577/5.519, allocations: 20.44 MB / 2.386 GB, free: 0.5619 GB / 1.796 GB Notification: Performance of collectPreVariables (initialization): time 0.006776/5.526, allocations: 0.5455 MB / 2.387 GB, free: 0.5615 GB / 1.796 GB Notification: Performance of collectInitialEqns (initialization): time 0.01856/5.545, allocations: 14.9 MB / 2.401 GB, free: 0.5532 GB / 1.796 GB Notification: Performance of collectInitialBindings (initialization): time 0.0208/5.565, allocations: 12.21 MB / 2.413 GB, free: 0.5455 GB / 1.796 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02112/5.586, allocations: 5.832 MB / 2.419 GB, free: 0.5426 GB / 1.796 GB Notification: Performance of setup shared object (initialization): time 6.235e-05/5.587, allocations: 301.1 kB / 2.419 GB, free: 0.5423 GB / 1.796 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02161/5.608, allocations: 9.77 MB / 2.429 GB, free: 0.5385 GB / 1.796 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03185/5.64, allocations: 17.28 MB / 2.446 GB, free: 0.5265 GB / 1.796 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09052/5.73, allocations: 29.62 MB / 2.475 GB, free: 0.5071 GB / 1.796 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004716/5.731, allocations: 55.88 kB / 2.475 GB, free: 0.5071 GB / 1.796 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.1173/5.848, allocations: 40.1 MB / 2.514 GB, free: 487 MB / 1.796 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/5.848, allocations: 92 kB / 2.514 GB, free: 486.9 MB / 1.796 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003588/5.849, allocations: 204 kB / 2.514 GB, free: 486.7 MB / 1.796 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05747/5.906, allocations: 13.61 MB / 2.527 GB, free: 473.1 MB / 1.796 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03202/5.938, allocations: 8.231 MB / 2.535 GB, free: 464.8 MB / 1.796 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1839/6.122, allocations: 80.39 MB / 2.614 GB, free: 384.2 MB / 1.796 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05011/6.172, allocations: 2.577 MB / 2.616 GB, free: 382.1 MB / 1.796 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006848/6.179, allocations: 1.309 MB / 2.618 GB, free: 380.8 MB / 1.796 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 926 * 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 (3816): * Single equations (assignments): 3814 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(900,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.02228/6.201, allocations: 5.174 MB / 2.623 GB, free: 375.7 MB / 1.796 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01594/6.217, allocations: 3.254 MB / 2.626 GB, free: 372.4 MB / 1.796 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09019/6.308, allocations: 34.18 MB / 2.659 GB, free: 338.2 MB / 1.796 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002027/6.308, allocations: 316 kB / 2.66 GB, free: 337.9 MB / 1.796 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.983e-05/6.308, allocations: 0 / 2.66 GB, free: 337.9 MB / 1.796 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/6.309, allocations: 159.4 kB / 2.66 GB, free: 337.7 MB / 1.796 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1856/6.494, allocations: 73.22 MB / 2.731 GB, free: 264.6 MB / 1.796 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001879/6.495, allocations: 12.16 kB / 2.731 GB, free: 264.6 MB / 1.796 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02481/6.519, allocations: 5.93 MB / 2.737 GB, free: 258.7 MB / 1.796 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02222/6.542, allocations: 5.059 MB / 2.742 GB, free: 253.6 MB / 1.796 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005002/6.547, allocations: 0.5312 MB / 2.743 GB, free: 253.1 MB / 1.796 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1684/6.715, allocations: 78.07 MB / 2.819 GB, free: 174.6 MB / 1.796 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/6.715, allocations: 8 kB / 2.819 GB, free: 174.6 MB / 1.796 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1274/6.843, allocations: 52.03 MB / 2.87 GB, free: 122.3 MB / 1.796 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02625/6.869, allocations: 6.342 MB / 2.876 GB, free: 116.1 MB / 1.796 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01428/6.883, allocations: 0.5273 MB / 2.876 GB, free: 115.6 MB / 1.796 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03418/6.917, allocations: 0.7561 MB / 2.877 GB, free: 114.8 MB / 1.796 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009094/6.926, allocations: 2.111 MB / 2.879 GB, free: 112.7 MB / 1.796 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0048/6.931, allocations: 0.7461 MB / 2.88 GB, free: 112 MB / 1.796 GB Notification: Performance of sorting global known variables: time 0.03244/6.964, allocations: 13.21 MB / 2.893 GB, free: 98.89 MB / 1.796 GB Notification: Performance of sort global known variables: time 1.81e-07/6.964, allocations: 0 / 2.893 GB, free: 98.89 MB / 1.796 GB Notification: Performance of remove unused functions: time 0.06156/7.025, allocations: 12.57 MB / 2.905 GB, free: 86.54 MB / 1.796 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (2497): * Single equations (assignments): 2495 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,0), (880,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008111/7.033, allocations: 2.3 MB / 2.907 GB, free: 84.32 MB / 1.796 GB Notification: Performance of simCode: created initialization part: time 0.9823/8.015, allocations: 40.99 MB / 2.947 GB, free: 0.599 GB / 1.796 GB Notification: Performance of simCode: created event and clocks part: time 2.371e-05/8.016, allocations: 0 / 2.947 GB, free: 0.599 GB / 1.796 GB Notification: Performance of simCode: created simulation system equations: time 0.0818/8.097, allocations: 26.94 MB / 2.974 GB, free: 0.5953 GB / 1.796 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05825/8.156, allocations: 3.906 MB / 2.977 GB, free: 0.5951 GB / 1.796 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2212/8.377, allocations: 72.59 MB / 3.048 GB, free: 0.5644 GB / 1.796 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03329/8.41, allocations: 13.77 MB / 3.062 GB, free: 0.5629 GB / 1.796 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01579/8.426, allocations: 2.192 MB / 3.064 GB, free: 0.5628 GB / 1.796 GB Notification: Performance of SimCode: time 2.124e-06/8.426, allocations: 0 / 3.064 GB, free: 0.5628 GB / 1.796 GB Notification: Performance of Templates: time 1.984/10.41, allocations: 0.7091 GB / 3.773 GB, free: 0.5072 GB / 1.796 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2 -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe 2>&1)