Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.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.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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.Type1.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000863/0.0008632, allocations: 95.3 kB / 17.31 MB, free: 6.543 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.001168/0.001168, allocations: 183.9 kB / 18.22 MB, free: 5.676 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.395/1.395, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05938/0.05938, allocations: 14.17 MB / 286.9 MB, free: 13.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.967/2.967, allocations: 421.4 MB / 0.7423 GB, free: 4.172 MB / 0.5764 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: Performance of FrontEnd - loaded program: time 0.0008629/0.0008628, allocations: 22.34 kB / 0.917 GB, free: 9.734 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211/1.212, allocations: 164.7 MB / 1.078 GB, free: 14.68 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.04682/1.259, allocations: 54.52 MB / 1.131 GB, free: 2.664 MB / 0.8271 GB Notification: Performance of NFInst.instExpressions: time 0.03672/1.296, allocations: 20.32 MB / 1.151 GB, free: 1.566 MB / 0.8428 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01368/1.31, allocations: 216.6 kB / 1.151 GB, free: 1.496 MB / 0.8428 GB Notification: Performance of NFTyping.typeComponents: time 0.01086/1.321, allocations: 2.428 MB / 1.153 GB, free: 15.61 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.02817/1.349, allocations: 6.991 MB / 1.16 GB, free: 9.711 MB / 0.8584 GB Notification: Performance of NFTyping.typeClassSections: time 0.009109/1.358, allocations: 2.885 MB / 1.163 GB, free: 7.289 MB / 0.8584 GB Notification: Performance of NFFlatten.flatten: time 0.03067/1.389, allocations: 18.22 MB / 1.181 GB, free: 12.41 MB / 0.874 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007034/1.396, allocations: 2.219 MB / 1.183 GB, free: 10.11 MB / 0.874 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01292/1.409, allocations: 4.558 MB / 1.188 GB, free: 5.531 MB / 0.874 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/1.419, allocations: 5.24 MB / 1.193 GB, free: 272 kB / 0.874 GB Notification: Performance of NFPackage.collectConstants: time 0.003182/1.423, allocations: 304 kB / 1.193 GB, free: 15.96 MB / 0.8896 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007502/1.43, allocations: 0.9684 MB / 1.194 GB, free: 15 MB / 0.8896 GB Notification: Performance of NFScalarize.scalarize: time 0.002969/1.433, allocations: 1.304 MB / 1.195 GB, free: 13.69 MB / 0.8896 GB Notification: Performance of NFVerifyModel.verify: time 0.01183/1.445, allocations: 4.927 MB / 1.2 GB, free: 8.727 MB / 0.8896 GB Notification: Performance of NFConvertDAE.convert: time 0.0192/1.464, allocations: 12.64 MB / 1.212 GB, free: 12.04 MB / 0.9053 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.464, allocations: 0 / 1.212 GB, free: 12.04 MB / 0.9053 GB Notification: Performance of FrontEnd: time 2.605e-06/1.464, allocations: 0 / 1.212 GB, free: 12.04 MB / 0.9053 GB Notification: Performance of Transformations before backend: time 0.000506/1.465, allocations: 0 / 1.212 GB, free: 12.04 MB / 0.9053 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1920 * Number of variables: 1920 Notification: Performance of Generate backend data structure: time 0.04245/1.507, allocations: 11.99 MB / 1.224 GB, free: 15.95 MB / 0.9209 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.507, allocations: 8.031 kB / 1.224 GB, free: 15.94 MB / 0.9209 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007598/1.515, allocations: 1.449 MB / 1.225 GB, free: 14.48 MB / 0.9209 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/1.528, allocations: 5.927 MB / 1.231 GB, free: 8.484 MB / 0.9209 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/1.529, allocations: 0.581 MB / 1.232 GB, free: 7.902 MB / 0.9209 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002125/1.531, allocations: 0.7693 MB / 1.233 GB, free: 7.133 MB / 0.9209 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/1.548, allocations: 7.942 MB / 1.24 GB, free: 14.87 MB / 0.9365 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/1.548, allocations: 15.88 kB / 1.24 GB, free: 14.85 MB / 0.9365 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005964/1.548, allocations: 308 kB / 1.241 GB, free: 14.55 MB / 0.9365 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/1.549, allocations: 188 kB / 1.241 GB, free: 14.37 MB / 0.9365 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/1.564, allocations: 7.614 MB / 1.248 GB, free: 6.742 MB / 0.9365 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 0.07095/1.635, allocations: 46.36 MB / 1.294 GB, free: 4.281 MB / 0.9834 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/1.654, allocations: 9.458 MB / 1.303 GB, free: 10.7 MB / 0.999 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007105/1.661, allocations: 3.577 MB / 1.306 GB, free: 7.113 MB / 0.999 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003943/1.661, allocations: 94.14 kB / 1.306 GB, free: 7.02 MB / 0.999 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.937e-05/1.661, allocations: 120.7 kB / 1.306 GB, free: 6.891 MB / 0.999 GB Notification: Performance of pre-optimization done (n=787): time 1.179e-05/1.661, allocations: 0 / 1.306 GB, free: 6.891 MB / 0.999 GB Notification: Performance of matching and sorting (n=789): time 0.04178/1.703, allocations: 18.12 MB / 1.324 GB, free: 4.645 MB / 1.015 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/1.703, allocations: 347.2 kB / 1.324 GB, free: 4.242 MB / 1.015 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008298/1.712, allocations: 5.201 MB / 1.33 GB, free: 15.06 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/1.713, allocations: 173.7 kB / 1.33 GB, free: 14.89 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.003057/1.716, allocations: 3.595 MB / 1.333 GB, free: 11.26 MB / 1.03 GB Notification: Performance of collectInitialBindings (initialization): time 0.003372/1.719, allocations: 2.73 MB / 1.336 GB, free: 8.492 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/1.72, allocations: 0.7411 MB / 1.337 GB, free: 7.742 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/1.721, allocations: 305.1 kB / 1.337 GB, free: 7.441 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005761/1.726, allocations: 2.966 MB / 1.34 GB, free: 4.469 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00742/1.734, allocations: 4.811 MB / 1.344 GB, free: 14.99 MB / 1.046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/1.748, allocations: 7.77 MB / 1.352 GB, free: 6.621 MB / 1.046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.145e-05/1.749, allocations: 16 kB / 1.352 GB, free: 6.605 MB / 1.046 GB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.03372/1.782, allocations: 12.95 MB / 1.365 GB, free: 9.582 MB / 1.062 GB Notification: Performance of prepare postOptimizeDAE: time 0.001098/1.783, allocations: 1.391 MB / 1.366 GB, free: 7.598 MB / 1.062 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.038e-05/1.783, allocations: 44 kB / 1.366 GB, free: 7.555 MB / 1.062 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02707/1.811, allocations: 5.774 MB / 1.372 GB, free: 1.715 MB / 1.062 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007904/1.819, allocations: 1.751 MB / 1.373 GB, free: 15.96 MB / 1.077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07905/1.898, allocations: 51.04 MB / 1.423 GB, free: 10.19 MB / 1.124 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008883/1.907, allocations: 0.5175 MB / 1.424 GB, free: 9.668 MB / 1.124 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.908, allocations: 332 kB / 1.424 GB, free: 9.344 MB / 1.124 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.908, allocations: 4 kB / 1.424 GB, free: 9.34 MB / 1.124 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02131/1.929, allocations: 10.05 MB / 1.434 GB, free: 15.23 MB / 1.14 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.914e-05/1.93, allocations: 44.06 kB / 1.434 GB, free: 15.19 MB / 1.14 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02145/1.951, allocations: 4.353 MB / 1.438 GB, free: 10.78 MB / 1.14 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008386/1.959, allocations: 1.892 MB / 1.44 GB, free: 8.887 MB / 1.14 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05029/2.01, allocations: 40.07 MB / 1.479 GB, free: 14.38 MB / 1.187 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008638/2.018, allocations: 398.3 kB / 1.48 GB, free: 13.99 MB / 1.187 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/2.02, allocations: 328 kB / 1.48 GB, free: 13.67 MB / 1.187 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 10 (GEN_2_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_2_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_2_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_2_1.AVR.firstOrderLim.I.local_reset,GEN_2_1.TGOV.firstOrderLim.I.local_reset,GEN_1_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_1_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_1_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_1_1.AVR.firstOrderLim.I.local_reset,GEN_1_1.TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (951): * Single equations (assignments): 931 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(38,0), (172,0), (2,0), (2,0), (2,0), (2,0), (10,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.005414/2.025, allocations: 1.564 MB / 1.481 GB, free: 12.09 MB / 1.187 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002656/2.028, allocations: 0.799 MB / 1.482 GB, free: 11.29 MB / 1.187 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01804/2.046, allocations: 8.763 MB / 1.491 GB, free: 2.461 MB / 1.187 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000107/2.046, allocations: 39.84 kB / 1.491 GB, free: 2.422 MB / 1.187 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/2.046, allocations: 4 kB / 1.491 GB, free: 2.418 MB / 1.187 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00537/2.052, allocations: 1.413 MB / 1.492 GB, free: 0.9766 MB / 1.187 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001797/2.054, allocations: 140 kB / 1.492 GB, free: 0.8398 MB / 1.187 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005484/2.059, allocations: 354.5 kB / 1.493 GB, free: 0.4922 MB / 1.187 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001352/2.06, allocations: 0.6182 MB / 1.493 GB, free: 15.87 MB / 1.202 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02261/2.083, allocations: 8.46 MB / 1.502 GB, free: 7.359 MB / 1.202 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.6565/2.74, allocations: 9.77 MB / 1.511 GB, free: 369.8 MB / 1.202 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005871/2.745, allocations: 2.715 MB / 1.514 GB, free: 369.7 MB / 1.202 GB Notification: Performance of sorting global known variables: time 0.006673/2.752, allocations: 3.315 MB / 1.517 GB, free: 369.5 MB / 1.202 GB Notification: Performance of Backend: time 9.02e-07/2.752, allocations: 0 / 1.517 GB, free: 369.5 MB / 1.202 GB Notification: Performance of simCode: created initialization part: time 0.05634/2.809, allocations: 21.81 MB / 1.538 GB, free: 361.1 MB / 1.202 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.03735/2.846, allocations: 20.45 MB / 1.558 GB, free: 349.7 MB / 1.202 GB Notification: Performance of Templates: time 0.3118/3.158, allocations: 152 MB / 1.707 GB, free: 219.2 MB / 1.202 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe 2>&1)