Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_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/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.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.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") translateModel(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 105.7 kB / 17.59 MB, free: 5.418 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.001328/0.001328, allocations: 191.5 kB / 18.52 MB, free: 4.504 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.66/1.66, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06009/0.06009, allocations: 14.16 MB / 285.9 MB, free: 13.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 3.417/3.417, allocations: 418.6 MB / 0.7376 GB, free: 5.203 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: 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.003074/0.003074, allocations: 89.58 kB / 0.9089 GB, free: 12.54 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522/1.525, allocations: 160.9 MB / 1.066 GB, free: 12.23 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.06695/1.592, allocations: 63.81 MB / 1.128 GB, free: 10.45 MB / 0.8428 GB Notification: Performance of NFInst.instExpressions: time 0.05786/1.65, allocations: 23.28 MB / 1.151 GB, free: 6.809 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0231/1.673, allocations: 234.3 kB / 1.151 GB, free: 6.742 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01704/1.691, allocations: 3.316 MB / 1.154 GB, free: 4.047 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.0528/1.743, allocations: 8.869 MB / 1.163 GB, free: 12.46 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01266/1.756, allocations: 3.262 MB / 1.166 GB, free: 9.703 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.04094/1.797, allocations: 21.15 MB / 1.187 GB, free: 12.74 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007531/1.805, allocations: 2.521 MB / 1.189 GB, free: 11.4 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01936/1.824, allocations: 6.96 MB / 1.196 GB, free: 7.16 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0199/1.844, allocations: 7.573 MB / 1.204 GB, free: 1.926 MB / 0.8896 GB Notification: Performance of NFPackage.collectConstants: time 0.006697/1.851, allocations: 1.046 MB / 1.205 GB, free: 1.02 MB / 0.8896 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/1.866, allocations: 2.043 MB / 1.207 GB, free: 14.98 MB / 0.9053 GB Notification: Performance of NFScalarize.scalarize: time 0.006263/1.872, allocations: 2.315 MB / 1.209 GB, free: 12.65 MB / 0.9053 GB Notification: Performance of NFVerifyModel.verify: time 0.02179/1.894, allocations: 6.726 MB / 1.215 GB, free: 5.895 MB / 0.9053 GB Notification: Performance of NFConvertDAE.convert: time 0.04125/1.936, allocations: 15.92 MB / 1.231 GB, free: 5.926 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.936, allocations: 0 / 1.231 GB, free: 5.926 MB / 0.9209 GB Notification: Performance of FrontEnd: time 2.745e-06/1.936, allocations: 0 / 1.231 GB, free: 5.926 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0007636/1.936, allocations: 0 / 1.231 GB, free: 5.926 MB / 0.9209 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2196 * Number of variables: 2196 Notification: Performance of Generate backend data structure: time 0.07337/2.01, allocations: 16.37 MB / 1.247 GB, free: 5.434 MB / 0.9365 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/2.01, allocations: 12.03 kB / 1.247 GB, free: 5.422 MB / 0.9365 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/2.021, allocations: 1.646 MB / 1.249 GB, free: 3.762 MB / 0.9365 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02497/2.046, allocations: 6.904 MB / 1.255 GB, free: 12.76 MB / 0.9521 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001104/2.047, allocations: 0.6613 MB / 1.256 GB, free: 12.1 MB / 0.9521 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004592/2.052, allocations: 0.8632 MB / 1.257 GB, free: 11.23 MB / 0.9521 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0346/2.086, allocations: 8.977 MB / 1.266 GB, free: 1.855 MB / 0.9521 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006591/2.087, allocations: 15.88 kB / 1.266 GB, free: 1.84 MB / 0.9521 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003431/2.091, allocations: 356 kB / 1.266 GB, free: 1.492 MB / 0.9521 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002712/2.091, allocations: 212 kB / 1.266 GB, free: 1.285 MB / 0.9521 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02888/2.12, allocations: 8.519 MB / 1.275 GB, free: 8.746 MB / 0.9678 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.1246/2.245, allocations: 57.39 MB / 1.331 GB, free: 10.44 MB / 1.03 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0261/2.271, allocations: 10.66 MB / 1.341 GB, free: 15.73 MB / 1.046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01192/2.283, allocations: 4.016 MB / 1.345 GB, free: 11.71 MB / 1.046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/2.284, allocations: 111.1 kB / 1.345 GB, free: 11.6 MB / 1.046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/2.284, allocations: 129.7 kB / 1.345 GB, free: 11.46 MB / 1.046 GB Notification: Performance of pre-optimization done (n=909): time 3.927e-05/2.284, allocations: 0 / 1.345 GB, free: 11.46 MB / 1.046 GB Notification: Performance of matching and sorting (n=909): time 0.04098/2.325, allocations: 12 MB / 1.357 GB, free: 15.43 MB / 1.062 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000261/2.326, allocations: 360.1 kB / 1.357 GB, free: 15.02 MB / 1.062 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02077/2.347, allocations: 6.317 MB / 1.363 GB, free: 8.75 MB / 1.062 GB Notification: Performance of collectPreVariables (initialization): time 0.002726/2.349, allocations: 189.7 kB / 1.364 GB, free: 8.559 MB / 1.062 GB Notification: Performance of collectInitialEqns (initialization): time 0.006316/2.356, allocations: 4.027 MB / 1.367 GB, free: 4.496 MB / 1.062 GB Notification: Performance of collectInitialBindings (initialization): time 0.007513/2.363, allocations: 3.142 MB / 1.371 GB, free: 1.309 MB / 1.062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01073/2.374, allocations: 1.737 MB / 1.372 GB, free: 15.56 MB / 1.077 GB Notification: Performance of setup shared object (initialization): time 0.0002039/2.374, allocations: 305.1 kB / 1.373 GB, free: 15.26 MB / 1.077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01297/2.387, allocations: 3.279 MB / 1.376 GB, free: 11.97 MB / 1.077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01635/2.404, allocations: 5.266 MB / 1.381 GB, free: 5.984 MB / 1.077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02804/2.432, allocations: 8.592 MB / 1.389 GB, free: 12.67 MB / 1.093 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/2.432, allocations: 12 kB / 1.389 GB, free: 12.66 MB / 1.093 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.04963/2.482, allocations: 13.9 MB / 1.403 GB, free: 14.62 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/2.482, allocations: 24 kB / 1.403 GB, free: 14.59 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/2.482, allocations: 48.91 kB / 1.403 GB, free: 14.55 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03062/2.513, allocations: 6.242 MB / 1.409 GB, free: 8.234 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009245/2.522, allocations: 1.95 MB / 1.411 GB, free: 6.281 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09674/2.619, allocations: 58.17 MB / 1.468 GB, free: 9.234 MB / 1.171 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/2.633, allocations: 0.852 MB / 1.469 GB, free: 8.375 MB / 1.171 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002553/2.636, allocations: 376 kB / 1.469 GB, free: 8.008 MB / 1.171 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01477/2.651, allocations: 4.258 MB / 1.473 GB, free: 3.742 MB / 1.171 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0121/2.663, allocations: 5.024 MB / 1.478 GB, free: 13.99 MB / 1.187 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02119/2.684, allocations: 8.264 MB / 1.486 GB, free: 5.012 MB / 1.187 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001026/2.684, allocations: 16 kB / 1.486 GB, free: 4.996 MB / 1.187 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.04578/2.73, allocations: 12.19 MB / 1.498 GB, free: 8.66 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 8.363e-05/2.73, allocations: 24 kB / 1.498 GB, free: 8.637 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.892e-05/2.73, allocations: 51.98 kB / 1.498 GB, free: 8.586 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02523/2.756, allocations: 5.153 MB / 1.503 GB, free: 3.375 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01137/2.767, allocations: 2.095 MB / 1.505 GB, free: 1.277 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8734/3.641, allocations: 47.71 MB / 1.552 GB, free: 363.2 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0147/3.655, allocations: 0.6536 MB / 1.552 GB, free: 363 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002766/3.658, allocations: 375.6 kB / 1.553 GB, free: 363 MB / 1.218 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * 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 (1061): * Single equations (assignments): 1041 * 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), (216,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.002889/3.661, allocations: 0.7336 MB / 1.553 GB, free: 362.5 MB / 1.218 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005012/3.666, allocations: 0.9004 MB / 1.554 GB, free: 362.5 MB / 1.218 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02379/3.69, allocations: 9.967 MB / 1.564 GB, free: 358.3 MB / 1.218 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002529/3.69, allocations: 45.11 kB / 1.564 GB, free: 358.3 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/3.69, allocations: 0 / 1.564 GB, free: 358.3 MB / 1.218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008629/3.699, allocations: 1.857 MB / 1.566 GB, free: 357.1 MB / 1.218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004218/3.703, allocations: 155.3 kB / 1.566 GB, free: 357 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01107/3.714, allocations: 275.2 kB / 1.566 GB, free: 356.9 MB / 1.218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002673/3.717, allocations: 0.7267 MB / 1.567 GB, free: 356.8 MB / 1.218 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02938/3.746, allocations: 9.389 MB / 1.576 GB, free: 353.5 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1552/3.902, allocations: 47.57 MB / 1.623 GB, free: 328.8 MB / 1.218 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008828/3.911, allocations: 2.999 MB / 1.626 GB, free: 327.2 MB / 1.218 GB Notification: Performance of sorting global known variables: time 0.01415/3.925, allocations: 4.063 MB / 1.63 GB, free: 325.1 MB / 1.218 GB Notification: Performance of Backend: time 1.834e-06/3.925, allocations: 4 kB / 1.63 GB, free: 325.1 MB / 1.218 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.07791/4.003, allocations: 24.7 MB / 1.654 GB, free: 306.8 MB / 1.218 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.07195/4.075, allocations: 30.14 MB / 1.683 GB, free: 276.6 MB / 1.218 GB Notification: Performance of Templates: time 0.4076/4.482, allocations: 221.9 MB / 1.9 GB, free: 54.48 MB / 1.218 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)