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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 109.3 kB / 21.82 MB, free: 108 kB / 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.001897/0.001897, allocations: 187.4 kB / 25.08 MB, free: 3.629 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.565/1.565, allocations: 207.6 MB / 235.8 MB, free: 10.02 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.07318/0.07318, allocations: 14.38 MB / 302.4 MB, free: 7.484 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.92/3.92, allocations: 468.9 MB / 0.8079 GB, free: 59 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_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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.003098/0.003098, allocations: 94.08 kB / 1.183 GB, free: 11.05 MB / 0.8579 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4128, allocations: 182.6 MB / 1.362 GB, free: 12.58 MB / 1.03 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.05822/0.471, allocations: 55.27 MB / 1.416 GB, free: 5.082 MB / 1.077 GB Notification: Performance of NFInst.instExpressions: time 0.04281/0.5138, allocations: 20.5 MB / 1.436 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01358/0.5274, allocations: 285.9 kB / 1.436 GB, free: 244 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01166/0.5391, allocations: 2.894 MB / 1.439 GB, free: 13.32 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.02957/0.5686, allocations: 8.187 MB / 1.447 GB, free: 5.102 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.5788, allocations: 3.159 MB / 1.45 GB, free: 1.938 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.03602/0.6149, allocations: 18.59 MB / 1.468 GB, free: 15.29 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005758/0.6206, allocations: 1.398 MB / 1.469 GB, free: 13.82 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01565/0.6363, allocations: 6.36 MB / 1.476 GB, free: 7.434 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01435/0.6506, allocations: 6.634 MB / 1.482 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.004856/0.6555, allocations: 0.961 MB / 1.483 GB, free: 15.81 MB / 1.155 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.6657, allocations: 1.84 MB / 1.485 GB, free: 13.97 MB / 1.155 GB Notification: Performance of NFScalarize.scalarize: time 0.004906/0.6706, allocations: 2.081 MB / 1.487 GB, free: 11.88 MB / 1.155 GB Notification: Performance of NFVerifyModel.verify: time 0.01987/0.6905, allocations: 5.921 MB / 1.493 GB, free: 5.934 MB / 1.155 GB Notification: Performance of NFConvertDAE.convert: time 0.03299/0.7235, allocations: 14.95 MB / 1.507 GB, free: 6.926 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.7235, allocations: 0 / 1.507 GB, free: 6.926 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7235, allocations: 0 / 1.507 GB, free: 6.926 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0006006/0.7241, allocations: 0 / 1.507 GB, free: 6.926 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: 1920 * Number of variables: 1920 Notification: Performance of Generate backend data structure: time 0.06575/0.7898, allocations: 14.46 MB / 1.521 GB, free: 8.367 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/0.7899, allocations: 12.03 kB / 1.521 GB, free: 8.355 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008982/0.7989, allocations: 1.486 MB / 1.523 GB, free: 6.863 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02071/0.8196, allocations: 6.222 MB / 1.529 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008795/0.8205, allocations: 0.5811 MB / 1.529 GB, free: 15.96 MB / 1.202 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003298/0.8238, allocations: 0.7733 MB / 1.53 GB, free: 15.2 MB / 1.202 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02437/0.8481, allocations: 7.883 MB / 1.538 GB, free: 6.992 MB / 1.202 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003722/0.8485, allocations: 19.81 kB / 1.538 GB, free: 6.973 MB / 1.202 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002137/0.8506, allocations: 308 kB / 1.538 GB, free: 6.672 MB / 1.202 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002025/0.8508, allocations: 184 kB / 1.538 GB, free: 6.492 MB / 1.202 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.368/2.219, allocations: 7.497 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.08132/2.3, allocations: 48.52 MB / 1.593 GB, free: 117.8 MB / 1.202 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01723/2.318, allocations: 7.548 MB / 1.6 GB, free: 113.8 MB / 1.202 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007012/2.325, allocations: 3.164 MB / 1.604 GB, free: 112.2 MB / 1.202 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006629/2.325, allocations: 96.34 kB / 1.604 GB, free: 112.2 MB / 1.202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/2.325, allocations: 119.2 kB / 1.604 GB, free: 112.1 MB / 1.202 GB Notification: Performance of pre-optimization done (n=787): time 2.577e-05/2.326, allocations: 10.16 kB / 1.604 GB, free: 112.1 MB / 1.202 GB Notification: Performance of matching and sorting (n=787): time 0.02618/2.352, allocations: 10.34 MB / 1.614 GB, free: 106.9 MB / 1.202 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/2.352, allocations: 342.4 kB / 1.614 GB, free: 106.6 MB / 1.202 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/2.363, allocations: 5.656 MB / 1.62 GB, free: 103.6 MB / 1.202 GB Notification: Performance of collectPreVariables (initialization): time 0.001609/2.365, allocations: 174.5 kB / 1.62 GB, free: 103.5 MB / 1.202 GB Notification: Performance of collectInitialEqns (initialization): time 0.002467/2.367, allocations: 3.647 MB / 1.623 GB, free: 100.6 MB / 1.202 GB Notification: Performance of collectInitialBindings (initialization): time 0.004717/2.372, allocations: 2.863 MB / 1.626 GB, free: 98.55 MB / 1.202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002885/2.375, allocations: 1.553 MB / 1.628 GB, free: 97.64 MB / 1.202 GB Notification: Performance of setup shared object (initialization): time 6.327e-05/2.375, allocations: 309.1 kB / 1.628 GB, free: 97.34 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005659/2.38, allocations: 2.942 MB / 1.631 GB, free: 95.82 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008075/2.388, allocations: 4.731 MB / 1.636 GB, free: 92.19 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/2.403, allocations: 7.643 MB / 1.643 GB, free: 87.11 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.747e-05/2.404, allocations: 15.91 kB / 1.643 GB, free: 87.11 MB / 1.202 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.0293/2.433, allocations: 12.35 MB / 1.655 GB, free: 80.79 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 7.49e-05/2.433, allocations: 27.38 kB / 1.655 GB, free: 80.79 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.58e-05/2.433, allocations: 39.62 kB / 1.655 GB, free: 80.79 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02551/2.458, allocations: 5.438 MB / 1.66 GB, free: 78.51 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007404/2.466, allocations: 1.743 MB / 1.662 GB, free: 78.1 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06715/2.533, allocations: 52.03 MB / 1.713 GB, free: 27.38 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01094/2.544, allocations: 0.7829 MB / 1.714 GB, free: 26.74 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/2.546, allocations: 336 kB / 1.714 GB, free: 26.41 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009439/2.555, allocations: 3.803 MB / 1.718 GB, free: 22.6 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006874/2.562, allocations: 4.495 MB / 1.722 GB, free: 17.45 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01204/2.574, allocations: 7.321 MB / 1.729 GB, free: 9.523 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.894e-05/2.574, allocations: 12 kB / 1.729 GB, free: 9.512 MB / 1.202 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.02547/2.599, allocations: 10.67 MB / 1.74 GB, free: 14.78 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/2.6, allocations: 28.06 kB / 1.74 GB, free: 14.75 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.94e-05/2.6, allocations: 40 kB / 1.74 GB, free: 14.71 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02378/2.623, allocations: 4.353 MB / 1.744 GB, free: 10.31 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008677/2.632, allocations: 1.888 MB / 1.746 GB, free: 8.418 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06578/2.698, allocations: 41.68 MB / 1.787 GB, free: 12.65 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/2.709, allocations: 0.5993 MB / 1.787 GB, free: 12.16 MB / 1.265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/2.71, allocations: 339.9 kB / 1.788 GB, free: 11.83 MB / 1.265 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.003431/2.714, allocations: 0.6857 MB / 1.788 GB, free: 11.16 MB / 1.265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003898/2.718, allocations: 0.8308 MB / 1.789 GB, free: 10.32 MB / 1.265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/2.737, allocations: 8.509 MB / 1.797 GB, free: 1.75 MB / 1.265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-05/2.737, allocations: 47.78 kB / 1.797 GB, free: 1.703 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/2.737, allocations: 0 / 1.797 GB, free: 1.703 MB / 1.265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006167/2.743, allocations: 1.607 MB / 1.799 GB, free: 112 kB / 1.265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002148/2.745, allocations: 140 kB / 1.799 GB, free: 15.97 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006567/2.752, allocations: 239.7 kB / 1.799 GB, free: 15.74 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001506/2.753, allocations: 0.6569 MB / 1.8 GB, free: 15.08 MB / 1.28 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02177/2.775, allocations: 8.142 MB / 1.808 GB, free: 7.059 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.105/2.88, allocations: 42.44 MB / 1.849 GB, free: 12.31 MB / 1.327 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005323/2.885, allocations: 2.5 MB / 1.852 GB, free: 9.793 MB / 1.327 GB Notification: Performance of sorting global known variables: time 0.00756/2.893, allocations: 3.64 MB / 1.855 GB, free: 6.176 MB / 1.327 GB Notification: Performance of Backend: time 5.41e-07/2.893, allocations: 0 / 1.855 GB, free: 6.176 MB / 1.327 GB Notification: Performance of simCode: created initialization part: time 0.0601/2.953, allocations: 21.14 MB / 1.876 GB, free: 0.5195 MB / 1.343 GB Notification: Performance of SimCode: time 0.06253/3.016, allocations: 29.17 MB / 1.904 GB, free: 3.176 MB / 1.374 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_1 could not be translated " [Timeout remaining time 596] [Calling sys.exit(0), Time elapsed: 12.195806654999615] Failed to read output from testmodel.py, exit status != 0: 4.341123913000047 4.351134077 3.624758819 Calling exit ...