Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 106.8 kB / 21.13 MB, free: 0.8242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 194.8 kB / 24.41 MB, free: 4.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 207.6 MB / 235.1 MB, free: 10.96 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06834/0.06834, allocations: 14.41 MB / 301.7 MB, free: 7.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 4.093/4.093, allocations: 468.9 MB / 0.8072 GB, free: 59.22 MB / 0.6233 GB " [Timeout remaining time 176] 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.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") [Timeout 600] "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.003067/0.003067, allocations: 96.17 kB / 1.183 GB, free: 11.27 MB / 0.8579 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3899, allocations: 182.5 MB / 1.361 GB, free: 12.9 MB / 1.03 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.0664/0.4563, allocations: 64.02 MB / 1.424 GB, free: 12.63 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04856/0.5049, allocations: 23.34 MB / 1.446 GB, free: 5.215 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01582/0.5207, allocations: 234.9 kB / 1.447 GB, free: 4.984 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.01342/0.5341, allocations: 3.325 MB / 1.45 GB, free: 1.637 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.03564/0.5697, allocations: 9.408 MB / 1.459 GB, free: 8.188 MB / 1.124 GB Notification: Performance of NFTyping.typeClassSections: time 0.01165/0.5814, allocations: 3.288 MB / 1.462 GB, free: 4.895 MB / 1.124 GB Notification: Performance of NFFlatten.flatten: time 0.03954/0.6209, allocations: 21.25 MB / 1.483 GB, free: 15.57 MB / 1.155 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005563/0.6265, allocations: 1.476 MB / 1.484 GB, free: 14.01 MB / 1.155 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01733/0.6438, allocations: 7.142 MB / 1.491 GB, free: 6.844 MB / 1.155 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01648/0.6603, allocations: 7.564 MB / 1.499 GB, free: 15.25 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.005638/0.6659, allocations: 1.051 MB / 1.5 GB, free: 14.2 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.6771, allocations: 2.05 MB / 1.502 GB, free: 12.15 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.005478/0.6825, allocations: 2.315 MB / 1.504 GB, free: 9.824 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.01796/0.7005, allocations: 6.718 MB / 1.511 GB, free: 3.074 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.03711/0.7376, allocations: 16.8 MB / 1.527 GB, free: 2.215 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.948e-06/0.7376, allocations: 0 / 1.527 GB, free: 2.215 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.806e-06/0.7376, allocations: 0 / 1.527 GB, free: 2.215 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0007057/0.7383, allocations: 0 / 1.527 GB, free: 2.215 MB / 1.186 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.07286/0.8112, allocations: 16.55 MB / 1.543 GB, free: 1.535 MB / 1.202 GB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/0.8113, allocations: 11.98 kB / 1.543 GB, free: 1.523 MB / 1.202 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.326/2.137, allocations: 1.705 MB / 1.545 GB, free: 156.6 MB / 1.202 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02206/2.159, allocations: 7.143 MB / 1.552 GB, free: 154.7 MB / 1.202 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008573/2.16, allocations: 0.651 MB / 1.552 GB, free: 154.4 MB / 1.202 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003305/2.163, allocations: 0.8752 MB / 1.553 GB, free: 154.1 MB / 1.202 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02664/2.19, allocations: 8.987 MB / 1.562 GB, free: 149.8 MB / 1.202 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/2.19, allocations: 17.75 kB / 1.562 GB, free: 149.8 MB / 1.202 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007548/2.191, allocations: 356.7 kB / 1.562 GB, free: 149.5 MB / 1.202 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/2.191, allocations: 213 kB / 1.563 GB, free: 149.5 MB / 1.202 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02178/2.213, allocations: 8.511 MB / 1.571 GB, free: 146.5 MB / 1.202 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.1032/2.316, allocations: 57.15 MB / 1.627 GB, free: 95.85 MB / 1.202 GB Notification: Performance of preOpt comSubExp (simulation): time 0.023/2.339, allocations: 9.999 MB / 1.637 GB, free: 89.61 MB / 1.202 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009789/2.349, allocations: 3.577 MB / 1.64 GB, free: 87.81 MB / 1.202 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/2.35, allocations: 112.2 kB / 1.64 GB, free: 87.79 MB / 1.202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/2.35, allocations: 131.9 kB / 1.64 GB, free: 87.68 MB / 1.202 GB Notification: Performance of pre-optimization done (n=909): time 3.203e-05/2.35, allocations: 0 / 1.64 GB, free: 87.68 MB / 1.202 GB Notification: Performance of matching and sorting (n=909): time 0.03617/2.386, allocations: 11.91 MB / 1.652 GB, free: 81.68 MB / 1.202 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002826/2.386, allocations: 363.3 kB / 1.652 GB, free: 81.35 MB / 1.202 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.018/2.404, allocations: 6.323 MB / 1.658 GB, free: 78.09 MB / 1.202 GB Notification: Performance of collectPreVariables (initialization): time 0.002057/2.406, allocations: 191.4 kB / 1.659 GB, free: 77.93 MB / 1.202 GB Notification: Performance of collectInitialEqns (initialization): time 0.004114/2.411, allocations: 4.122 MB / 1.663 GB, free: 74.72 MB / 1.202 GB Notification: Performance of collectInitialBindings (initialization): time 0.004992/2.416, allocations: 3.296 MB / 1.666 GB, free: 71.93 MB / 1.202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006885/2.422, allocations: 1.737 MB / 1.668 GB, free: 70.91 MB / 1.202 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/2.422, allocations: 308.9 kB / 1.668 GB, free: 70.61 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007471/2.43, allocations: 3.278 MB / 1.671 GB, free: 68.93 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00938/2.439, allocations: 5.265 MB / 1.676 GB, free: 64.91 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/2.455, allocations: 8.589 MB / 1.685 GB, free: 57.66 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.154e-05/2.456, allocations: 12 kB / 1.685 GB, free: 57.65 MB / 1.202 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.03784/2.493, allocations: 13.8 MB / 1.698 GB, free: 43.71 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/2.493, allocations: 31.98 kB / 1.698 GB, free: 43.68 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/2.494, allocations: 48 kB / 1.698 GB, free: 43.64 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02821/2.522, allocations: 6.097 MB / 1.704 GB, free: 37.48 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008391/2.53, allocations: 1.946 MB / 1.706 GB, free: 35.53 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08622/2.616, allocations: 58.12 MB / 1.763 GB, free: 6.609 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01362/2.63, allocations: 0.8697 MB / 1.764 GB, free: 5.734 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002199/2.632, allocations: 376 kB / 1.764 GB, free: 5.367 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01265/2.645, allocations: 4.258 MB / 1.768 GB, free: 1.102 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01009/2.655, allocations: 5.024 MB / 1.773 GB, free: 11.35 MB / 1.249 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01898/2.674, allocations: 8.26 MB / 1.781 GB, free: 2.375 MB / 1.249 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.721e-05/2.674, allocations: 16 kB / 1.781 GB, free: 2.359 MB / 1.249 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.04016/2.714, allocations: 12.12 MB / 1.793 GB, free: 6.117 MB / 1.265 GB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/2.714, allocations: 24.97 kB / 1.793 GB, free: 6.094 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.946e-05/2.714, allocations: 48 kB / 1.793 GB, free: 6.047 MB / 1.265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02682/2.741, allocations: 5.031 MB / 1.798 GB, free: 0.9688 MB / 1.265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/2.751, allocations: 2.095 MB / 1.8 GB, free: 14.87 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08104/2.833, allocations: 47.67 MB / 1.847 GB, free: 12.67 MB / 1.327 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01451/2.847, allocations: 0.6771 MB / 1.847 GB, free: 11.99 MB / 1.327 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002484/2.85, allocations: 371.9 kB / 1.848 GB, free: 11.63 MB / 1.327 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.005609/2.855, allocations: 0.7423 MB / 1.848 GB, free: 10.88 MB / 1.327 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006234/2.861, allocations: 0.9395 MB / 1.849 GB, free: 9.934 MB / 1.327 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03138/2.893, allocations: 9.827 MB / 1.859 GB, free: 68 kB / 1.327 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002534/2.893, allocations: 39.84 kB / 1.859 GB, free: 28 kB / 1.327 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/2.893, allocations: 0 / 1.859 GB, free: 28 kB / 1.327 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009834/2.903, allocations: 1.911 MB / 1.861 GB, free: 14.09 MB / 1.343 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004802/2.908, allocations: 156 kB / 1.861 GB, free: 13.94 MB / 1.343 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01095/2.919, allocations: 271.7 kB / 1.861 GB, free: 13.67 MB / 1.343 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002782/2.921, allocations: 0.7283 MB / 1.862 GB, free: 12.94 MB / 1.343 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03282/2.954, allocations: 9.368 MB / 1.871 GB, free: 3.598 MB / 1.343 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.153/3.107, allocations: 47.76 MB / 1.918 GB, free: 3.512 MB / 1.39 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008031/3.115, allocations: 2.824 MB / 1.92 GB, free: 0.6797 MB / 1.39 GB Notification: Performance of sorting global known variables: time 0.01185/3.127, allocations: 4.062 MB / 1.924 GB, free: 12.66 MB / 1.405 GB Notification: Performance of Backend: time 1.012e-06/3.127, allocations: 3.938 kB / 1.924 GB, free: 12.66 MB / 1.405 GB Notification: Performance of simCode: created initialization part: time 0.08096/3.208, allocations: 23.68 MB / 1.947 GB, free: 4.438 MB / 1.421 GB Notification: Performance of SimCode: time 0.08413/3.292, allocations: 33.2 MB / 1.98 GB, free: 3.031 MB / 1.452 GB [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 0: GEN_1_1.TGOV.firstOrderLim.G.y >= 0.0 and GEN_1_1.TGOV.firstOrderLim.I.y > GEN_1_1.TGOV.firstOrderLim.lim.uMax or GEN_1_1.TGOV.firstOrderLim.G.y <= 0.0 and GEN_1_1.TGOV.firstOrderLim.I.y < GEN_1_1.TGOV.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 1: GEN_1_1.AVR.firstOrderLim.G.y >= 0.0 and GEN_1_1.AVR.firstOrderLim.I.y > GEN_1_1.AVR.firstOrderLim.lim.uMax or GEN_1_1.AVR.firstOrderLim.G.y <= 0.0 and GEN_1_1.AVR.firstOrderLim.I.y < GEN_1_1.AVR.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 2: GEN_2_1.TGOV.firstOrderLim.G.y >= 0.0 and GEN_2_1.TGOV.firstOrderLim.I.y > GEN_2_1.TGOV.firstOrderLim.lim.uMax or GEN_2_1.TGOV.firstOrderLim.G.y <= 0.0 and GEN_2_1.TGOV.firstOrderLim.I.y < GEN_2_1.TGOV.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 3: GEN_2_1.AVR.firstOrderLim.G.y >= 0.0 and GEN_2_1.AVR.firstOrderLim.I.y > GEN_2_1.AVR.firstOrderLim.lim.uMax or GEN_2_1.AVR.firstOrderLim.G.y <= 0.0 and GEN_2_1.AVR.firstOrderLim.I.y < GEN_2_1.AVR.firstOrderLim.lim.uMin. Error: Internal error SimCode DAEmode: The model ScalableTestGrids.Models.Type1.Type1_N_1_M_2 could not be translated " [Timeout remaining time 595] [Calling sys.exit(0), Time elapsed: 12.905334662005771] Failed to read output from testmodel.py, exit status != 0: 4.700455277008587 4.709276431 3.968685967 Calling exit ...