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.001189/0.001189, allocations: 106 kB / 18.41 MB, free: 4.676 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.001241/0.001241, allocations: 189.1 kB / 19.34 MB, free: 3.75 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.339/1.339, 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.0661/0.0661, allocations: 14.17 MB / 286.7 MB, free: 13.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.514/3.514, 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.002149/0.002149, allocations: 86.59 kB / 1.131 GB, free: 22.41 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3913, allocations: 172.1 MB / 1.299 GB, free: 7.629 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.1871/0.5784, allocations: 243.8 MB / 1.537 GB, free: 2.883 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 1.847/2.426, allocations: 82.2 MB / 1.617 GB, free: 2.695 MB / 1.265 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06562/2.492, allocations: 0.6797 MB / 1.618 GB, free: 2.695 MB / 1.265 GB Notification: Performance of NFTyping.typeComponents: time 0.05231/2.544, allocations: 12.77 MB / 1.631 GB, free: 2.43 MB / 1.265 GB Notification: Performance of NFTyping.typeBindings: time 0.1552/2.699, allocations: 36.85 MB / 1.667 GB, free: 1.113 MB / 1.265 GB Notification: Performance of NFTyping.typeClassSections: time 0.02881/2.728, allocations: 3.948 MB / 1.67 GB, free: 0.8789 MB / 1.265 GB Notification: Performance of NFFlatten.flatten: time 0.1495/2.877, allocations: 77.5 MB / 1.746 GB, free: 7.316 MB / 1.312 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02731/2.905, allocations: 5.381 MB / 1.751 GB, free: 4.941 MB / 1.312 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06591/2.971, allocations: 25.92 MB / 1.777 GB, free: 3.621 MB / 1.327 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06665/3.038, allocations: 27.85 MB / 1.804 GB, free: 8.629 MB / 1.358 GB Notification: Performance of NFPackage.collectConstants: time 0.01752/3.055, allocations: 2.691 MB / 1.806 GB, free: 5.938 MB / 1.358 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04404/3.099, allocations: 6.308 MB / 1.813 GB, free: 15.63 MB / 1.374 GB Notification: Performance of NFScalarize.scalarize: time 0.0172/3.116, allocations: 6.816 MB / 1.819 GB, free: 9.062 MB / 1.374 GB Notification: Performance of NFVerifyModel.verify: time 0.06647/3.183, allocations: 23.28 MB / 1.842 GB, free: 1.945 MB / 1.39 GB Notification: Performance of NFConvertDAE.convert: time 0.1263/3.309, allocations: 55.02 MB / 1.896 GB, free: 13.27 MB / 1.452 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/3.309, allocations: 0 / 1.896 GB, free: 13.27 MB / 1.452 GB Notification: Performance of FrontEnd: time 4.258e-06/3.309, allocations: 0 / 1.896 GB, free: 13.27 MB / 1.452 GB Notification: Performance of Transformations before backend: time 0.0023/3.312, allocations: 3.938 kB / 1.896 GB, free: 13.27 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.2754/3.587, allocations: 59.21 MB / 1.954 GB, free: 2.688 MB / 1.499 GB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/3.587, allocations: 12.03 kB / 1.954 GB, free: 2.676 MB / 1.499 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04225/3.63, allocations: 6.149 MB / 1.96 GB, free: 12.48 MB / 1.515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08258/3.712, allocations: 22.26 MB / 1.981 GB, free: 6.477 MB / 1.53 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003995/3.716, allocations: 2.313 MB / 1.984 GB, free: 4.16 MB / 1.53 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0152/3.731, allocations: 3.012 MB / 1.987 GB, free: 1.148 MB / 1.53 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1156/3.847, allocations: 32.15 MB / 2.018 GB, free: 15.73 MB / 1.577 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002098/3.849, allocations: 63.38 kB / 2.018 GB, free: 15.67 MB / 1.577 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01104/3.86, allocations: 1.285 MB / 2.019 GB, free: 14.38 MB / 1.577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009256/3.861, allocations: 0.7734 MB / 2.02 GB, free: 13.61 MB / 1.577 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09095/3.952, allocations: 31.48 MB / 2.051 GB, free: 14.1 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.33/5.283, allocations: 217.8 MB / 2.263 GB, free: 0.623 GB / 1.812 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1187/5.402, allocations: 53.48 MB / 2.316 GB, free: 0.606 GB / 1.812 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02903/5.431, allocations: 14.27 MB / 2.33 GB, free: 0.6001 GB / 1.812 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003854/5.434, allocations: 395.3 kB / 2.33 GB, free: 0.6 GB / 1.812 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/5.435, allocations: 376 kB / 2.33 GB, free: 0.5998 GB / 1.812 GB Notification: Performance of pre-optimization done (n=3389): time 3.789e-05/5.435, allocations: 0.625 kB / 2.33 GB, free: 0.5998 GB / 1.812 GB Notification: Performance of matching and sorting (n=3389): time 0.1263/5.561, allocations: 41.3 MB / 2.371 GB, free: 0.5849 GB / 1.812 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000522/5.562, allocations: 394.9 kB / 2.371 GB, free: 0.5848 GB / 1.812 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05991/5.622, allocations: 20.42 MB / 2.391 GB, free: 0.5779 GB / 1.812 GB Notification: Performance of collectPreVariables (initialization): time 0.006162/5.628, allocations: 0.5457 MB / 2.392 GB, free: 0.5775 GB / 1.812 GB Notification: Performance of collectInitialEqns (initialization): time 0.01624/5.644, allocations: 14.53 MB / 2.406 GB, free: 0.5696 GB / 1.812 GB Notification: Performance of collectInitialBindings (initialization): time 0.02004/5.664, allocations: 11.64 MB / 2.417 GB, free: 0.5606 GB / 1.812 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02848/5.693, allocations: 5.797 MB / 2.423 GB, free: 0.5578 GB / 1.812 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/5.693, allocations: 309.6 kB / 2.423 GB, free: 0.5575 GB / 1.812 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02522/5.718, allocations: 9.771 MB / 2.433 GB, free: 0.5537 GB / 1.812 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03382/5.752, allocations: 17.28 MB / 2.449 GB, free: 0.5416 GB / 1.812 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09694/5.849, allocations: 29.61 MB / 2.478 GB, free: 0.5224 GB / 1.812 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004883/5.85, allocations: 58.16 kB / 2.478 GB, free: 0.5224 GB / 1.812 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.1243/5.974, allocations: 40.49 MB / 2.518 GB, free: 0.4883 GB / 1.812 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005515/5.975, allocations: 92 kB / 2.518 GB, free: 499.9 MB / 1.812 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006332/5.975, allocations: 204 kB / 2.518 GB, free: 499.7 MB / 1.812 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05898/6.034, allocations: 13.6 MB / 2.532 GB, free: 486.1 MB / 1.812 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03279/6.067, allocations: 8.227 MB / 2.54 GB, free: 477.9 MB / 1.812 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1835/6.251, allocations: 80.07 MB / 2.618 GB, free: 397.4 MB / 1.812 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04813/6.299, allocations: 2.525 MB / 2.62 GB, free: 394.9 MB / 1.812 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007141/6.306, allocations: 1.309 MB / 2.621 GB, free: 393.5 MB / 1.812 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.0244/6.33, allocations: 5.173 MB / 2.627 GB, free: 388.4 MB / 1.812 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01578/6.346, allocations: 3.1 MB / 2.63 GB, free: 385.2 MB / 1.812 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09815/6.444, allocations: 34.7 MB / 2.663 GB, free: 350.5 MB / 1.812 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002507/6.445, allocations: 324 kB / 2.664 GB, free: 350.1 MB / 1.812 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001069/6.445, allocations: 0 / 2.664 GB, free: 350.1 MB / 1.812 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/6.446, allocations: 159.4 kB / 2.664 GB, free: 350 MB / 1.812 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.2057/6.652, allocations: 73.7 MB / 2.736 GB, free: 276.2 MB / 1.812 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003314/6.652, allocations: 4.875 kB / 2.736 GB, free: 276.2 MB / 1.812 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02609/6.678, allocations: 5.934 MB / 2.742 GB, free: 270.2 MB / 1.812 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02277/6.701, allocations: 5.069 MB / 2.747 GB, free: 265.2 MB / 1.812 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005553/6.706, allocations: 0.5351 MB / 2.747 GB, free: 264.6 MB / 1.812 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1926/6.899, allocations: 77.74 MB / 2.823 GB, free: 186.5 MB / 1.812 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/6.899, allocations: 11.94 kB / 2.823 GB, free: 186.5 MB / 1.812 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1202/7.019, allocations: 52.3 MB / 2.874 GB, free: 133.8 MB / 1.812 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02236/7.042, allocations: 6.181 MB / 2.88 GB, free: 127.6 MB / 1.812 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01234/7.054, allocations: 0.5312 MB / 2.881 GB, free: 127.1 MB / 1.812 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03215/7.086, allocations: 0.7607 MB / 2.881 GB, free: 126.3 MB / 1.812 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008243/7.095, allocations: 2.115 MB / 2.884 GB, free: 124.2 MB / 1.812 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004446/7.099, allocations: 0.7422 MB / 2.884 GB, free: 123.4 MB / 1.812 GB Notification: Performance of sorting global known variables: time 0.02932/7.128, allocations: 13.21 MB / 2.897 GB, free: 110.4 MB / 1.812 GB Notification: Performance of sort global known variables: time 3.51e-07/7.128, allocations: 0 / 2.897 GB, free: 110.4 MB / 1.812 GB Notification: Performance of remove unused functions: time 0.05617/7.185, allocations: 12.54 MB / 2.909 GB, free: 97.82 MB / 1.812 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.007716/7.192, allocations: 2.3 MB / 2.912 GB, free: 95.61 MB / 1.812 GB Notification: Performance of simCode: created initialization part: time 0.9665/8.159, allocations: 42.73 MB / 2.953 GB, free: 0.6145 GB / 1.812 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/8.159, allocations: 1.031 kB / 2.953 GB, free: 0.6145 GB / 1.812 GB Notification: Performance of simCode: created simulation system equations: time 0.07905/8.238, allocations: 28.3 MB / 2.981 GB, free: 0.6109 GB / 1.812 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05941/8.298, allocations: 3.9 MB / 2.985 GB, free: 0.6107 GB / 1.812 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2163/8.514, allocations: 71.28 MB / 3.054 GB, free: 0.5806 GB / 1.812 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03402/8.548, allocations: 13.76 MB / 3.068 GB, free: 0.5791 GB / 1.812 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01525/8.563, allocations: 2.198 MB / 3.07 GB, free: 0.579 GB / 1.812 GB Notification: Performance of SimCode: time 1.734e-06/8.563, allocations: 0 / 3.07 GB, free: 0.579 GB / 1.812 GB Notification: Performance of Templates: time 1.909/10.47, allocations: 0.7042 GB / 3.774 GB, free: 0.5266 GB / 1.812 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)