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.001364/0.001364, allocations: 100.4 kB / 20.45 MB, free: 1.379 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.001531/0.001531, allocations: 214.5 kB / 23.75 MB, free: 4.531 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.554/1.554, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.09738/0.09738, allocations: 14.39 MB / 301.2 MB, free: 7.246 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.002826/0.002826, allocations: 83.81 kB / 425 MB, free: 36.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1091, allocations: 52.89 MB / 477.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01896/0.1281, allocations: 13.81 MB / 491.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.1424, allocations: 6.484 MB / 498.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004174/0.1466, allocations: 103.2 kB / 498.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003637/0.1502, allocations: 0.7988 MB / 499.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009631/0.1598, allocations: 2.566 MB / 0.4899 GB, free: 7.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005026/0.1649, allocations: 1.534 MB / 0.4914 GB, free: 5.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008836/0.1737, allocations: 5.075 MB / 0.4964 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.1754, allocations: 475.6 kB / 0.4968 GB, free: 256 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.1795, allocations: 1.81 MB / 0.4986 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.1834, allocations: 1.672 MB / 0.5002 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001208/0.1846, allocations: 288 kB / 0.5005 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.1873, allocations: 0.6871 MB / 0.5012 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.1884, allocations: 0.6341 MB / 0.5018 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003218/0.1916, allocations: 1.349 MB / 0.5031 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00844/0.2001, allocations: 4.277 MB / 0.5073 GB, free: 5.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2001, allocations: 0 / 0.5073 GB, free: 5.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2001, allocations: 0 / 0.5073 GB, free: 5.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001802/0.2003, allocations: 0 / 0.5073 GB, free: 5.5 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.01659/0.2169, allocations: 4.204 MB / 0.5114 GB, free: 1.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.2169, allocations: 8.031 kB / 0.5114 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.2191, allocations: 422.8 kB / 0.5118 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005616/0.2247, allocations: 1.852 MB / 0.5136 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.2249, allocations: 164.4 kB / 0.5138 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007475/0.2256, allocations: 227.9 kB / 0.514 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005624/0.2313, allocations: 2.206 MB / 0.5161 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/0.2313, allocations: 0 / 0.5161 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/0.2316, allocations: 76 kB / 0.5162 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/0.2317, allocations: 56 kB / 0.5163 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.2363, allocations: 1.893 MB / 0.5181 GB, free: 10.19 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.02048/0.2567, allocations: 7.659 MB / 0.5256 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/0.2608, allocations: 1.756 MB / 0.5273 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2422/0.5029, allocations: 0.7383 MB / 0.528 GB, free: 59.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.5031, allocations: 24.78 kB / 0.528 GB, free: 59.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.5032, allocations: 59.67 kB / 0.5281 GB, free: 59.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 5.14e-06/0.5032, allocations: 0 / 0.5281 GB, free: 59.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.0111/0.5143, allocations: 3.335 MB / 0.5314 GB, free: 59.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5144, allocations: 176.2 kB / 0.5315 GB, free: 59.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/0.5181, allocations: 1.853 MB / 0.5333 GB, free: 58.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.5183, allocations: 67.45 kB / 0.5334 GB, free: 58.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000874/0.5191, allocations: 1.123 MB / 0.5345 GB, free: 58.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/0.5198, allocations: 0.7203 MB / 0.5352 GB, free: 57.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007292/0.5206, allocations: 472.4 kB / 0.5357 GB, free: 57.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.5206, allocations: 306.3 kB / 0.5359 GB, free: 57.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.5224, allocations: 0.8279 MB / 0.5368 GB, free: 56.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/0.5249, allocations: 1.723 MB / 0.5384 GB, free: 55.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/0.5284, allocations: 2.184 MB / 0.5406 GB, free: 53.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.5284, allocations: 4.438 kB / 0.5406 GB, free: 53.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.008979/0.5374, allocations: 3.729 MB / 0.5442 GB, free: 52.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5374, allocations: 11.91 kB / 0.5442 GB, free: 52.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.5374, allocations: 15.88 kB / 0.5442 GB, free: 52.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008187/0.5456, allocations: 1.786 MB / 0.546 GB, free: 52.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.5476, allocations: 0.5261 MB / 0.5465 GB, free: 52.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.5676, allocations: 19.84 MB / 0.5659 GB, free: 32.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.5706, allocations: 276.4 kB / 0.5661 GB, free: 32.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.5707, allocations: 96 kB / 0.5662 GB, free: 32.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001828/0.5726, allocations: 1.071 MB / 0.5673 GB, free: 31.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001276/0.5738, allocations: 1.612 MB / 0.5689 GB, free: 29.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002166/0.576, allocations: 2.034 MB / 0.5708 GB, free: 27.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.746e-06/0.576, allocations: 4 kB / 0.5708 GB, free: 27.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.005095/0.5811, allocations: 2.918 MB / 0.5737 GB, free: 24.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5811, allocations: 16.19 kB / 0.5737 GB, free: 24.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.5811, allocations: 16 kB / 0.5737 GB, free: 24.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005833/0.587, allocations: 1.264 MB / 0.575 GB, free: 22.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/0.5889, allocations: 0.5929 MB / 0.5755 GB, free: 22.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.5999, allocations: 15.23 MB / 0.5904 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.6026, allocations: 197.3 kB / 0.5906 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.6028, allocations: 99.92 kB / 0.5907 GB, free: 5.652 MB / 398.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 (279): * Single equations (assignments): 268 * 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.0006178/0.6034, allocations: 328.5 kB / 0.591 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.6037, allocations: 254.4 kB / 0.5912 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.6073, allocations: 2.103 MB / 0.5933 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.6073, allocations: 15.89 kB / 0.5933 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6073, allocations: 0 / 0.5933 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000975/0.6083, allocations: 433.3 kB / 0.5937 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/0.6085, allocations: 40 kB / 0.5938 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.6098, allocations: 75.94 kB / 0.5938 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.6101, allocations: 161.7 kB / 0.594 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004536/0.6146, allocations: 2.061 MB / 0.596 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02418/0.6388, allocations: 12.36 MB / 0.6081 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001302/0.6401, allocations: 0.6598 MB / 0.6087 GB, free: 3.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001791/0.6419, allocations: 1.182 MB / 0.6099 GB, free: 1.91 MB / 414.1 MB Notification: Performance of Backend: time 6.21e-07/0.6419, allocations: 0 / 0.6099 GB, free: 1.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01426/0.6561, allocations: 6.744 MB / 0.6165 GB, free: 10.95 MB / 430.1 MB Notification: Performance of SimCode: time 0.0128/0.6689, allocations: 8.253 MB / 0.6245 GB, free: 2.633 MB / 430.1 MB [CodegenCpp.tpl:12296:11-12296: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:12296:11-12296: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.7122232262045145] Failed to read output from testmodel.py, exit status != 0: 0.7984615983441472 1.057613158 0.854414762 Calling exit ...