Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 101.2 kB / 20.45 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 218 kB / 23.76 MB, free: 4.68 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.438/1.438, allocations: 207.6 MB / 234.5 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.06949/0.06949, allocations: 14.38 MB / 301.2 MB, free: 7.457 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 79.88 kB / 425.1 MB, free: 36.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1108, allocations: 52.89 MB / 477.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.02123/0.132, allocations: 16.04 MB / 494 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.146, allocations: 6.877 MB / 0.4891 GB, free: 8.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/0.1488, allocations: 95.19 kB / 0.4892 GB, free: 8.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.1512, allocations: 0.8378 MB / 0.49 GB, free: 7.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008174/0.1594, allocations: 2.627 MB / 0.4926 GB, free: 4.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003904/0.1633, allocations: 1.589 MB / 0.4941 GB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008496/0.1718, allocations: 5.08 MB / 0.4991 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.173, allocations: 0.4918 MB / 0.4996 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.1763, allocations: 1.814 MB / 0.5014 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003139/0.1794, allocations: 1.856 MB / 0.5032 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000522/0.1799, allocations: 284 kB / 0.5034 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.1816, allocations: 0.6989 MB / 0.5041 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005843/0.1822, allocations: 0.6342 MB / 0.5047 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.1841, allocations: 1.656 MB / 0.5064 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006208/0.1903, allocations: 4.242 MB / 0.5105 GB, free: 2.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1903, allocations: 0 / 0.5105 GB, free: 2.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1903, allocations: 0 / 0.5105 GB, free: 2.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.386e-05/0.1904, allocations: 0 / 0.5105 GB, free: 2.426 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.01383/0.2042, allocations: 4.212 MB / 0.5146 GB, free: 14.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2043, allocations: 8.031 kB / 0.5146 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.2057, allocations: 426.8 kB / 0.515 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/0.2097, allocations: 1.845 MB / 0.5168 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.2099, allocations: 168.4 kB / 0.517 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.2102, allocations: 231.9 kB / 0.5172 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/0.2141, allocations: 2.072 MB / 0.5192 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.515e-05/0.2141, allocations: 3.938 kB / 0.5192 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.2143, allocations: 84 kB / 0.5193 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/0.2144, allocations: 48 kB / 0.5194 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.2182, allocations: 1.916 MB / 0.5212 GB, free: 7.242 MB / 398.1 MB 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.2706/0.4888, allocations: 12.13 MB / 0.5331 GB, free: 54.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.4924, allocations: 1.775 MB / 0.5348 GB, free: 53.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.4938, allocations: 0.7451 MB / 0.5355 GB, free: 53.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.4939, allocations: 31.83 kB / 0.5356 GB, free: 53.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.494, allocations: 57.52 kB / 0.5356 GB, free: 53.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 5.11e-06/0.494, allocations: 0 / 0.5356 GB, free: 53.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01117/0.5051, allocations: 3.338 MB / 0.5389 GB, free: 52.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.5052, allocations: 178.6 kB / 0.5391 GB, free: 52.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/0.5087, allocations: 1.894 MB / 0.5409 GB, free: 51.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002641/0.509, allocations: 68.08 kB / 0.541 GB, free: 51.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008077/0.5098, allocations: 1.113 MB / 0.5421 GB, free: 51.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007996/0.5106, allocations: 0.7158 MB / 0.5428 GB, free: 50.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007612/0.5113, allocations: 481.3 kB / 0.5432 GB, free: 50.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.5114, allocations: 310.3 kB / 0.5435 GB, free: 50.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.5132, allocations: 0.8415 MB / 0.5443 GB, free: 49.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.5151, allocations: 1.459 MB / 0.5458 GB, free: 48.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.5179, allocations: 2.194 MB / 0.5479 GB, free: 47.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.5179, allocations: 3.938 kB / 0.5479 GB, free: 47.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008104/0.526, allocations: 3.753 MB / 0.5516 GB, free: 45.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.526, allocations: 11.78 kB / 0.5516 GB, free: 45.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/0.5261, allocations: 15.66 kB / 0.5516 GB, free: 45.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008559/0.5346, allocations: 1.801 MB / 0.5534 GB, free: 44.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.5367, allocations: 0.5325 MB / 0.5539 GB, free: 44.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.5575, allocations: 20.27 MB / 0.5737 GB, free: 23.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/0.5608, allocations: 273.9 kB / 0.5739 GB, free: 23.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.561, allocations: 99.98 kB / 0.574 GB, free: 23.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001947/0.5629, allocations: 1.079 MB / 0.5751 GB, free: 22.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001304/0.5642, allocations: 1.344 MB / 0.5764 GB, free: 21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002224/0.5664, allocations: 2.043 MB / 0.5784 GB, free: 18.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.304e-06/0.5664, allocations: 4 kB / 0.5784 GB, free: 18.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005245/0.5717, allocations: 2.948 MB / 0.5813 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5717, allocations: 12 kB / 0.5813 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.5717, allocations: 15.98 kB / 0.5813 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006258/0.578, allocations: 1.268 MB / 0.5825 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.5801, allocations: 0.604 MB / 0.5831 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.5926, allocations: 15.55 MB / 0.5983 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/0.5957, allocations: 200.6 kB / 0.5985 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.596, allocations: 103.9 kB / 0.5986 GB, free: 12.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 5 (PSS.firstWashoutVsi2.integrator.local_reset,PSS.secondWashoutVsi1.integrator.local_reset,PSS.firstWashoutVsi1.integrator.local_reset,AVR.firstOrderLim.I.local_reset,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 (284): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0007183/0.5967, allocations: 327.6 kB / 0.5989 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/0.5974, allocations: 262.4 kB / 0.5992 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/0.6022, allocations: 2.095 MB / 0.6012 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/0.6022, allocations: 11.95 kB / 0.6012 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.6022, allocations: 4 kB / 0.6012 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.6035, allocations: 453.7 kB / 0.6017 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/0.6038, allocations: 36 kB / 0.6017 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.6051, allocations: 77.59 kB / 0.6018 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.6054, allocations: 157.7 kB / 0.6019 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005361/0.6107, allocations: 2.081 MB / 0.604 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02518/0.6359, allocations: 12.82 MB / 0.6165 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001306/0.6372, allocations: 0.6598 MB / 0.6171 GB, free: 9.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001976/0.6392, allocations: 1.226 MB / 0.6183 GB, free: 8.516 MB / 430.1 MB Notification: Performance of Backend: time 7.02e-07/0.6392, allocations: 4 kB / 0.6183 GB, free: 8.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01449/0.6537, allocations: 6.76 MB / 0.6249 GB, free: 1.535 MB / 430.1 MB Notification: Performance of SimCode: time 0.01287/0.6665, allocations: 8.83 MB / 0.6335 GB, free: 8.652 MB / 446.1 MB [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 0: TGOV.firstOrderLim.G.y >= 0.0 and TGOV.firstOrderLim.I.y > TGOV.firstOrderLim.lim.uMax or TGOV.firstOrderLim.G.y <= 0.0 and TGOV.firstOrderLim.I.y < TGOV.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 1: AVR.firstOrderLim.G.y >= 0.0 and AVR.firstOrderLim.I.y > AVR.firstOrderLim.lim.uMax or AVR.firstOrderLim.G.y <= 0.0 and AVR.firstOrderLim.I.y < AVR.firstOrderLim.lim.uMin. Error: Internal error SimCode DAEmode: The model PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.497164366999641] Failed to read output from testmodel.py, exit status != 0: 0.7853551581501961 1.004574663 0.810659939 Calling exit ...