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.0007799/0.0007799, allocations: 84.44 kB / 20.7 MB, free: 3.863 MB / 18.57 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.0007318/0.0007318, allocations: 173.9 kB / 23.97 MB, free: 0.5898 MB / 18.57 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 0.8284/0.8284, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.03729/0.03729, allocations: 10.64 MB / 248.6 MB, free: 4.734 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 3.938 kB / 372.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.115e-05, allocations: 2.281 kB / 372.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.009725/0.009747, allocations: 13.83 MB / 386.4 MB, free: 5.594 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00873/0.01848, allocations: 6.479 MB / 392.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.02035, allocations: 99.12 kB / 392.9 MB, free: 15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.0219, allocations: 0.8139 MB / 393.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004057/0.02596, allocations: 2.599 MB / 396.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.02798, allocations: 1.556 MB / 397.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004432/0.03241, allocations: 5.405 MB / 403.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.03309, allocations: 483.5 kB / 403.8 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.03554, allocations: 2.584 MB / 406.4 MB, free: 1.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.03683, allocations: 1.468 MB / 407.8 MB, free: 48 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002907/0.03712, allocations: 288 kB / 408.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.03816, allocations: 0.6907 MB / 408.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.03847, allocations: 0.6457 MB / 409.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008166/0.03929, allocations: 1.145 MB / 410.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.04255, allocations: 4.284 MB / 414.9 MB, free: 8.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.04255, allocations: 0 / 414.9 MB, free: 8.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.04255, allocations: 0 / 414.9 MB, free: 8.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.437e-05/0.04259, allocations: 0 / 414.9 MB, free: 8.98 MB / 346.7 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.00646/0.04905, allocations: 4.184 MB / 419.1 MB, free: 4.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.04909, allocations: 8.031 kB / 419.1 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007655/0.04986, allocations: 422.8 kB / 419.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.05231, allocations: 1.844 MB / 421.3 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.05241, allocations: 164.4 kB / 421.5 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.05267, allocations: 224.3 kB / 421.7 MB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.05509, allocations: 2.206 MB / 423.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.05512, allocations: 3.938 kB / 423.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.05523, allocations: 80 kB / 424 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.05526, allocations: 48 kB / 424 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.05755, allocations: 1.893 MB / 425.9 MB, free: 13.7 MB / 362.7 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.008997/0.06654, allocations: 7.654 MB / 433.6 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.0688, allocations: 1.749 MB / 435.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008418/0.06964, allocations: 0.7368 MB / 436.1 MB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.167e-05/0.06972, allocations: 25.98 kB / 436.1 MB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.06976, allocations: 56.56 kB / 436.2 MB, free: 3.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=194): time 4.208e-06/0.06976, allocations: 0 / 436.2 MB, free: 3.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=194): time 0.149/0.2188, allocations: 3.337 MB / 439.5 MB, free: 69.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.2188, allocations: 176.3 kB / 439.7 MB, free: 69.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.2212, allocations: 1.855 MB / 441.5 MB, free: 69.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003666/0.2215, allocations: 66.02 kB / 441.6 MB, free: 69.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/0.2221, allocations: 1.121 MB / 442.7 MB, free: 68.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/0.2226, allocations: 0.7108 MB / 443.4 MB, free: 68.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004828/0.2231, allocations: 468.3 kB / 443.9 MB, free: 68.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.026e-05/0.2231, allocations: 304 kB / 444.2 MB, free: 67.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.2243, allocations: 0.8365 MB / 445 MB, free: 67.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.2256, allocations: 1.721 MB / 446.7 MB, free: 66.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.2277, allocations: 2.192 MB / 448.9 MB, free: 64.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.2277, allocations: 7.25 kB / 448.9 MB, free: 64.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.005403/0.2331, allocations: 3.729 MB / 452.7 MB, free: 63.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.2331, allocations: 11.56 kB / 452.7 MB, free: 63.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.2332, allocations: 18.66 kB / 452.7 MB, free: 63.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005147/0.2383, allocations: 1.792 MB / 454.5 MB, free: 63.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.2395, allocations: 0.5228 MB / 455 MB, free: 63.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.2525, allocations: 19.83 MB / 474.8 MB, free: 47.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.2543, allocations: 267.5 kB / 475.1 MB, free: 47.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.2544, allocations: 100.7 kB / 475.2 MB, free: 47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001606/0.256, allocations: 1.065 MB / 476.3 MB, free: 46.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009206/0.2569, allocations: 1.618 MB / 477.9 MB, free: 44.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001602/0.2585, allocations: 2.028 MB / 479.9 MB, free: 43.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.175e-06/0.2585, allocations: 4 kB / 479.9 MB, free: 43.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.003182/0.2617, allocations: 2.923 MB / 482.8 MB, free: 40.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2617, allocations: 10.03 kB / 482.8 MB, free: 40.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2617, allocations: 16 kB / 482.9 MB, free: 40.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.2648, allocations: 1.271 MB / 484.1 MB, free: 38.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.2664, allocations: 0.6006 MB / 484.7 MB, free: 38.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.2727, allocations: 15.2 MB / 499.9 MB, free: 22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.2742, allocations: 199.3 kB / 0.4884 GB, free: 21.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.2743, allocations: 99.72 kB / 0.4885 GB, free: 21.75 MB / 362.7 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.0004125/0.2747, allocations: 339 kB / 0.4888 GB, free: 21.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.2749, allocations: 258.3 kB / 0.4891 GB, free: 21.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.2773, allocations: 2.094 MB / 0.4911 GB, free: 19.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.2773, allocations: 7.969 kB / 0.4911 GB, free: 19.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2774, allocations: 4 kB / 0.4911 GB, free: 19.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.2779, allocations: 437.6 kB / 0.4915 GB, free: 18.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.2781, allocations: 40 kB / 0.4916 GB, free: 18.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.2787, allocations: 71.95 kB / 0.4916 GB, free: 18.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.2789, allocations: 157.7 kB / 0.4918 GB, free: 18.38 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002648/0.2815, allocations: 2.076 MB / 0.4938 GB, free: 16.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01277/0.2943, allocations: 12.36 MB / 0.5059 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007061/0.295, allocations: 0.6598 MB / 0.5065 GB, free: 3.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009161/0.2959, allocations: 1.182 MB / 0.5077 GB, free: 2.012 MB / 362.7 MB Notification: Performance of Backend: time 3.11e-07/0.2959, allocations: 0 / 0.5077 GB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008062/0.304, allocations: 6.714 MB / 0.5143 GB, free: 11.07 MB / 378.7 MB Notification: Performance of SimCode: time 0.008096/0.3121, allocations: 8.057 MB / 0.5221 GB, free: 2.98 MB / 378.7 MB [CodegenCpp.tpl:12351:11-12351: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:12351:11-12351: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: 2.0760772740468383] Failed to read output from testmodel.py, exit status != 0: 0.506791022606194 0.515066291 0.471036265 Calling exit ...