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.001456/0.001456, allocations: 108.2 kB / 18.41 MB, free: 4.652 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.001539/0.001539, allocations: 187 kB / 19.34 MB, free: 3.727 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.475/1.475, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05872/0.05872, allocations: 14.16 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.681/3.681, 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.001718/0.001718, allocations: 93.19 kB / 1.131 GB, free: 22.4 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3734, 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.2128/0.5863, allocations: 243.8 MB / 1.537 GB, free: 2.871 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 1.754/2.34, allocations: 82.2 MB / 1.617 GB, free: 2.723 MB / 1.265 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05847/2.399, allocations: 0.6795 MB / 1.618 GB, free: 2.723 MB / 1.265 GB Notification: Performance of NFTyping.typeComponents: time 0.05122/2.45, allocations: 12.76 MB / 1.631 GB, free: 2.453 MB / 1.265 GB Notification: Performance of NFTyping.typeBindings: time 0.1341/2.584, allocations: 34.54 MB / 1.664 GB, free: 1.133 MB / 1.265 GB Notification: Performance of NFTyping.typeClassSections: time 0.02853/2.613, allocations: 3.956 MB / 1.668 GB, free: 0.8945 MB / 1.265 GB Notification: Performance of NFFlatten.flatten: time 0.1454/2.758, allocations: 77.81 MB / 1.744 GB, free: 9.652 MB / 1.312 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02198/2.78, allocations: 5.386 MB / 1.749 GB, free: 7.258 MB / 1.312 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0635/2.844, allocations: 25.91 MB / 1.775 GB, free: 6.594 MB / 1.327 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06314/2.907, allocations: 27.85 MB / 1.802 GB, free: 11.6 MB / 1.358 GB Notification: Performance of NFPackage.collectConstants: time 0.0176/2.924, allocations: 2.691 MB / 1.805 GB, free: 8.906 MB / 1.358 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04406/2.969, allocations: 6.314 MB / 1.811 GB, free: 2.602 MB / 1.358 GB Notification: Performance of NFScalarize.scalarize: time 0.01691/2.986, allocations: 6.816 MB / 1.817 GB, free: 12.03 MB / 1.374 GB Notification: Performance of NFVerifyModel.verify: time 0.07697/3.063, allocations: 23.29 MB / 1.84 GB, free: 4.914 MB / 1.39 GB Notification: Performance of NFConvertDAE.convert: time 0.1219/3.185, allocations: 55.02 MB / 1.894 GB, free: 252 kB / 1.437 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/3.185, allocations: 0 / 1.894 GB, free: 252 kB / 1.437 GB Notification: Performance of FrontEnd: time 3.777e-06/3.185, allocations: 0 / 1.894 GB, free: 252 kB / 1.437 GB Notification: Performance of Transformations before backend: time 0.002245/3.187, allocations: 4 kB / 1.894 GB, free: 248 kB / 1.437 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.2606/3.448, allocations: 59.21 MB / 1.952 GB, free: 5.66 MB / 1.499 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/3.448, allocations: 8.031 kB / 1.952 GB, free: 5.652 MB / 1.499 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03935/3.487, allocations: 6.145 MB / 1.958 GB, free: 15.45 MB / 1.515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07165/3.559, allocations: 22.26 MB / 1.979 GB, free: 9.449 MB / 1.53 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002834/3.562, allocations: 2.321 MB / 1.982 GB, free: 7.125 MB / 1.53 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01013/3.572, allocations: 3.004 MB / 1.985 GB, free: 4.121 MB / 1.53 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09723/3.669, allocations: 32.15 MB / 2.016 GB, free: 2.699 MB / 1.562 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001643/3.671, allocations: 63.38 kB / 2.016 GB, free: 2.637 MB / 1.562 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0102/3.681, allocations: 1.289 MB / 2.017 GB, free: 1.348 MB / 1.562 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008039/3.682, allocations: 0.7773 MB / 2.018 GB, free: 0.5703 MB / 1.562 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09103/3.773, allocations: 31.47 MB / 2.049 GB, free: 1.066 MB / 1.593 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.467/5.239, allocations: 217.8 MB / 2.261 GB, free: 0.6069 GB / 1.796 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1284/5.368, allocations: 53.47 MB / 2.314 GB, free: 0.5893 GB / 1.796 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02986/5.398, allocations: 14.27 MB / 2.328 GB, free: 0.5834 GB / 1.796 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00303/5.401, allocations: 397.7 kB / 2.328 GB, free: 0.5834 GB / 1.796 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/5.401, allocations: 381.1 kB / 2.328 GB, free: 0.5831 GB / 1.796 GB Notification: Performance of pre-optimization done (n=3389): time 3.78e-05/5.401, allocations: 0 / 2.328 GB, free: 0.5831 GB / 1.796 GB Notification: Performance of matching and sorting (n=3389): time 0.09038/5.492, allocations: 41.31 MB / 2.369 GB, free: 0.5682 GB / 1.796 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003767/5.492, allocations: 394.8 kB / 2.369 GB, free: 0.5681 GB / 1.796 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06397/5.556, allocations: 20.42 MB / 2.389 GB, free: 0.5612 GB / 1.796 GB Notification: Performance of collectPreVariables (initialization): time 0.007363/5.563, allocations: 0.5421 MB / 2.39 GB, free: 0.5608 GB / 1.796 GB Notification: Performance of collectInitialEqns (initialization): time 0.0167/5.58, allocations: 14.52 MB / 2.404 GB, free: 0.5528 GB / 1.796 GB Notification: Performance of collectInitialBindings (initialization): time 0.0203/5.601, allocations: 11.65 MB / 2.415 GB, free: 0.5438 GB / 1.796 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02067/5.621, allocations: 5.796 MB / 2.421 GB, free: 0.541 GB / 1.796 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/5.621, allocations: 305.1 kB / 2.421 GB, free: 0.5407 GB / 1.796 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0211/5.643, allocations: 9.776 MB / 2.431 GB, free: 0.5369 GB / 1.796 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03059/5.673, allocations: 17.28 MB / 2.447 GB, free: 0.5248 GB / 1.796 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09254/5.766, allocations: 29.61 MB / 2.476 GB, free: 0.5055 GB / 1.796 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004195/5.766, allocations: 57.34 kB / 2.476 GB, free: 0.5055 GB / 1.796 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.1068/5.873, allocations: 40.48 MB / 2.516 GB, free: 482.1 MB / 1.796 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/5.873, allocations: 93.97 kB / 2.516 GB, free: 482 MB / 1.796 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003017/5.874, allocations: 200.9 kB / 2.516 GB, free: 481.8 MB / 1.796 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0585/5.932, allocations: 13.61 MB / 2.53 GB, free: 468.2 MB / 1.796 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03183/5.964, allocations: 8.235 MB / 2.538 GB, free: 459.9 MB / 1.796 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1589/6.123, allocations: 80.06 MB / 2.616 GB, free: 379.5 MB / 1.796 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04797/6.171, allocations: 2.521 MB / 2.618 GB, free: 376.9 MB / 1.796 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007525/6.179, allocations: 1.309 MB / 2.62 GB, free: 375.6 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.023/6.202, allocations: 5.173 MB / 2.625 GB, free: 370.4 MB / 1.796 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01745/6.219, allocations: 3.104 MB / 2.628 GB, free: 367.3 MB / 1.796 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09091/6.31, allocations: 34.7 MB / 2.662 GB, free: 332.5 MB / 1.796 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002763/6.31, allocations: 320 kB / 2.662 GB, free: 332.2 MB / 1.796 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001158/6.31, allocations: 0 / 2.662 GB, free: 332.2 MB / 1.796 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/6.312, allocations: 159.4 kB / 2.662 GB, free: 332.1 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.2011/6.513, allocations: 73.72 MB / 2.734 GB, free: 258.3 MB / 1.796 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003372/6.513, allocations: 4 kB / 2.734 GB, free: 258.3 MB / 1.796 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02555/6.539, allocations: 5.935 MB / 2.74 GB, free: 252.3 MB / 1.796 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02353/6.562, allocations: 5.063 MB / 2.745 GB, free: 247.2 MB / 1.796 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005596/6.568, allocations: 0.5351 MB / 2.745 GB, free: 246.7 MB / 1.796 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2005/6.768, allocations: 77.74 MB / 2.821 GB, free: 168.5 MB / 1.796 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/6.768, allocations: 11.94 kB / 2.821 GB, free: 168.5 MB / 1.796 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.14/6.908, allocations: 52.29 MB / 2.872 GB, free: 115.9 MB / 1.796 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02971/6.938, allocations: 6.184 MB / 2.878 GB, free: 109.7 MB / 1.796 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01588/6.954, allocations: 0.5312 MB / 2.879 GB, free: 109.1 MB / 1.796 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03675/6.991, allocations: 0.7646 MB / 2.88 GB, free: 108.4 MB / 1.796 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01043/7.001, allocations: 2.107 MB / 2.882 GB, free: 106.3 MB / 1.796 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005746/7.007, allocations: 0.7461 MB / 2.882 GB, free: 105.5 MB / 1.796 GB Notification: Performance of sorting global known variables: time 0.03687/7.044, allocations: 13.21 MB / 2.895 GB, free: 92.45 MB / 1.796 GB Notification: Performance of sort global known variables: time 6.81e-07/7.044, allocations: 0 / 2.895 GB, free: 92.45 MB / 1.796 GB Notification: Performance of remove unused functions: time 0.06143/7.106, allocations: 12.55 MB / 2.907 GB, free: 79.89 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.007806/7.113, allocations: 2.287 MB / 2.91 GB, free: 77.69 MB / 1.796 GB Notification: Performance of simCode: created initialization part: time 1.082/8.196, allocations: 42.73 MB / 2.951 GB, free: 0.6031 GB / 1.796 GB Notification: Performance of simCode: created event and clocks part: time 3.142e-05/8.196, allocations: 0 / 2.951 GB, free: 0.6031 GB / 1.796 GB Notification: Performance of simCode: created simulation system equations: time 0.07951/8.276, allocations: 28.29 MB / 2.979 GB, free: 0.5995 GB / 1.796 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06982/8.345, allocations: 3.907 MB / 2.983 GB, free: 0.5994 GB / 1.796 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2395/8.585, allocations: 71.27 MB / 3.052 GB, free: 0.5681 GB / 1.796 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03753/8.623, allocations: 13.77 MB / 3.066 GB, free: 0.5666 GB / 1.796 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01657/8.639, allocations: 2.193 MB / 3.068 GB, free: 0.5665 GB / 1.796 GB Notification: Performance of SimCode: time 1.653e-06/8.639, allocations: 0 / 3.068 GB, free: 0.5665 GB / 1.796 GB Notification: Performance of Templates: time 2.197/10.84, allocations: 0.7042 GB / 3.772 GB, free: 0.4947 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)