Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.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.007571/0.007571, allocations: 101.8 kB / 21.82 MB, free: 4.707 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.001505/0.001505, allocations: 194.4 kB / 25.08 MB, free: 3.125 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.484/1.484, allocations: 207.6 MB / 235.8 MB, free: 10.03 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.06643/0.06643, allocations: 14.38 MB / 302.4 MB, free: 7.508 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 3.463/3.463, allocations: 468.9 MB / 0.8079 GB, free: 59.06 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_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1") [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.002776/0.002776, allocations: 92.3 kB / 1.183 GB, free: 11.05 MB / 0.8579 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3629, allocations: 182.6 MB / 1.362 GB, free: 12.59 MB / 1.03 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1): time 0.05351/0.4164, allocations: 55.3 MB / 1.416 GB, free: 5.066 MB / 1.077 GB Notification: Performance of NFInst.instExpressions: time 0.03847/0.4548, allocations: 20.51 MB / 1.436 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01203/0.4669, allocations: 277.9 kB / 1.436 GB, free: 224 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.4777, allocations: 2.895 MB / 1.439 GB, free: 13.3 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.0348/0.5125, allocations: 8.179 MB / 1.447 GB, free: 5.09 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.009481/0.522, allocations: 3.167 MB / 1.45 GB, free: 1.918 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.03089/0.5529, allocations: 18.58 MB / 1.468 GB, free: 15.28 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004612/0.5575, allocations: 1.406 MB / 1.469 GB, free: 13.79 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01383/0.5713, allocations: 6.368 MB / 1.476 GB, free: 7.402 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0151/0.5864, allocations: 6.626 MB / 1.482 GB, free: 0.75 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.005654/0.5921, allocations: 0.9609 MB / 1.483 GB, free: 15.79 MB / 1.155 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.6026, allocations: 1.84 MB / 1.485 GB, free: 13.95 MB / 1.155 GB Notification: Performance of NFScalarize.scalarize: time 0.00426/0.6068, allocations: 2.085 MB / 1.487 GB, free: 11.86 MB / 1.155 GB Notification: Performance of NFVerifyModel.verify: time 0.01398/0.6208, allocations: 5.921 MB / 1.493 GB, free: 5.906 MB / 1.155 GB Notification: Performance of NFConvertDAE.convert: time 0.02937/0.6502, allocations: 14.95 MB / 1.507 GB, free: 6.902 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6502, allocations: 0 / 1.507 GB, free: 6.902 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6502, allocations: 0 / 1.507 GB, free: 6.902 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0005978/0.6508, allocations: 0 / 1.507 GB, free: 6.902 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1921 * Number of variables: 1921 Notification: Performance of Generate backend data structure: time 0.05793/0.7087, allocations: 14.47 MB / 1.521 GB, free: 8.332 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.7088, allocations: 8.031 kB / 1.521 GB, free: 8.324 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008804/0.7176, allocations: 1.494 MB / 1.523 GB, free: 6.824 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01945/0.737, allocations: 6.222 MB / 1.529 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007921/0.7378, allocations: 0.5772 MB / 1.53 GB, free: 15.93 MB / 1.202 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00298/0.7408, allocations: 0.7733 MB / 1.53 GB, free: 15.16 MB / 1.202 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02397/0.7648, allocations: 8.142 MB / 1.538 GB, free: 6.637 MB / 1.202 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003486/0.7651, allocations: 19.81 kB / 1.538 GB, free: 6.617 MB / 1.202 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001904/0.767, allocations: 308 kB / 1.539 GB, free: 6.316 MB / 1.202 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/0.7673, allocations: 188 kB / 1.539 GB, free: 6.133 MB / 1.202 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.138/1.905, allocations: 7.494 MB / 1.546 GB, free: 154.8 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.08194/1.987, allocations: 48.51 MB / 1.593 GB, free: 117.6 MB / 1.202 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/2.004, allocations: 7.552 MB / 1.601 GB, free: 113.6 MB / 1.202 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006576/2.011, allocations: 3.169 MB / 1.604 GB, free: 112 MB / 1.202 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005176/2.011, allocations: 95.22 kB / 1.604 GB, free: 111.9 MB / 1.202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.487e-05/2.011, allocations: 120.4 kB / 1.604 GB, free: 111.8 MB / 1.202 GB Notification: Performance of pre-optimization done (n=787): time 1.175e-05/2.011, allocations: 0 / 1.604 GB, free: 111.8 MB / 1.202 GB Notification: Performance of matching and sorting (n=787): time 0.02574/2.037, allocations: 10.35 MB / 1.614 GB, free: 106.7 MB / 1.202 GB Notification: Performance of evaluateOutputsOnly (n=787 -> n=337): time 0.04142/2.079, allocations: 22.99 MB / 1.637 GB, free: 96.6 MB / 1.202 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/2.079, allocations: 295 kB / 1.637 GB, free: 96.29 MB / 1.202 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/2.093, allocations: 7.481 MB / 1.644 GB, free: 92.35 MB / 1.202 GB Notification: Performance of collectPreVariables (initialization): time 0.001525/2.094, allocations: 173.5 kB / 1.644 GB, free: 92.2 MB / 1.202 GB Notification: Performance of collectInitialEqns (initialization): time 0.003138/2.097, allocations: 2.841 MB / 1.647 GB, free: 89.87 MB / 1.202 GB Notification: Performance of collectInitialBindings (initialization): time 0.001854/2.099, allocations: 1.264 MB / 1.648 GB, free: 88.94 MB / 1.202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003559/2.103, allocations: 1.842 MB / 1.65 GB, free: 87.86 MB / 1.202 GB Notification: Performance of setup shared object (initialization): time 6.3e-05/2.103, allocations: 309.1 kB / 1.651 GB, free: 87.55 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004838/2.108, allocations: 2.951 MB / 1.653 GB, free: 86.03 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006267/2.114, allocations: 5.36 MB / 1.659 GB, free: 81.62 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009861/2.124, allocations: 6.553 MB / 1.665 GB, free: 77.09 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-05/2.124, allocations: 10.53 kB / 1.665 GB, free: 77.09 MB / 1.202 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.03046/2.154, allocations: 12.38 MB / 1.677 GB, free: 65.82 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 7.756e-05/2.154, allocations: 28 kB / 1.677 GB, free: 65.79 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.391e-05/2.154, allocations: 40 kB / 1.677 GB, free: 65.75 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02434/2.179, allocations: 5.43 MB / 1.683 GB, free: 60.27 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006984/2.186, allocations: 1.748 MB / 1.684 GB, free: 58.52 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05979/2.246, allocations: 52.03 MB / 1.735 GB, free: 4.172 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/2.257, allocations: 0.9001 MB / 1.736 GB, free: 3.461 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/2.258, allocations: 332 kB / 1.736 GB, free: 3.137 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008046/2.266, allocations: 3.567 MB / 1.74 GB, free: 15.56 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007762/2.274, allocations: 5.116 MB / 1.745 GB, free: 9.637 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01135/2.285, allocations: 6.229 MB / 1.751 GB, free: 2.805 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.725e-05/2.285, allocations: 12 kB / 1.751 GB, free: 2.793 MB / 1.218 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.02862/2.314, allocations: 10.7 MB / 1.761 GB, free: 8.035 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/2.314, allocations: 20 kB / 1.761 GB, free: 8.016 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.248e-05/2.314, allocations: 44 kB / 1.761 GB, free: 7.973 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02235/2.336, allocations: 4.359 MB / 1.766 GB, free: 3.562 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00878/2.345, allocations: 1.888 MB / 1.767 GB, free: 1.672 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06344/2.409, allocations: 41.68 MB / 1.808 GB, free: 5.883 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.42, allocations: 0.5935 MB / 1.809 GB, free: 5.395 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/2.422, allocations: 332 kB / 1.809 GB, free: 5.07 MB / 1.28 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 (949): * Single equations (assignments): 929 * 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.002043/2.424, allocations: 0.6047 MB / 1.81 GB, free: 4.48 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002936/2.427, allocations: 0.7839 MB / 1.81 GB, free: 3.691 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/2.439, allocations: 5.341 MB / 1.816 GB, free: 14.3 MB / 1.296 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.89e-05/2.439, allocations: 19.94 kB / 1.816 GB, free: 14.28 MB / 1.296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/2.439, allocations: 0 / 1.816 GB, free: 14.28 MB / 1.296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005835/2.445, allocations: 1.299 MB / 1.817 GB, free: 13 MB / 1.296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003325/2.448, allocations: 68 kB / 1.817 GB, free: 12.94 MB / 1.296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006003/2.454, allocations: 151.9 kB / 1.817 GB, free: 12.79 MB / 1.296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000959/2.455, allocations: 429.6 kB / 1.817 GB, free: 12.37 MB / 1.296 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01524/2.47, allocations: 5.34 MB / 1.823 GB, free: 7.012 MB / 1.296 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.09828/2.569, allocations: 38.76 MB / 1.861 GB, free: 15.93 MB / 1.343 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002996/2.572, allocations: 1.376 MB / 1.862 GB, free: 14.55 MB / 1.343 GB Notification: Performance of sorting global known variables: time 0.01191/2.584, allocations: 4.63 MB / 1.866 GB, free: 9.945 MB / 1.343 GB Notification: Performance of Backend: time 7.12e-07/2.584, allocations: 0 / 1.866 GB, free: 9.945 MB / 1.343 GB Notification: Performance of simCode: created initialization part: time 0.05753/2.641, allocations: 20.99 MB / 1.887 GB, free: 4.453 MB / 1.358 GB Notification: Performance of SimCode: time 0.05303/2.694, allocations: 22.22 MB / 1.909 GB, free: 14.04 MB / 1.39 GB [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 1: 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 2: 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 3: 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 4: 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_reduced_N_1_M_1 could not be translated " [Timeout remaining time 596] [Calling sys.exit(0), Time elapsed: 10.92107732000295] Failed to read output from testmodel.py, exit status != 0: 3.80369792599231 3.813984624 3.160750102 Calling exit ...