Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.000794/0.000794, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007672/0.0007672, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8598/0.8598, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04436/0.04436, allocations: 12.51 MB / 272.5 MB, free: 1.121 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 403.6 MB, free: 9.094 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.772e-05, allocations: 10.22 kB / 403.6 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.1965/0.1965, allocations: 35.16 MB / 438.8 MB, free: 2.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01766/0.2142, allocations: 9.954 MB / 448.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005011/0.2192, allocations: 146.7 kB / 448.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00376/0.223, allocations: 1.348 MB / 450.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009852/0.2328, allocations: 4.178 MB / 454.4 MB, free: 5.867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.2368, allocations: 2.626 MB / 457.1 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.247, allocations: 9.249 MB / 466.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003524/0.2505, allocations: 2.573 MB / 468.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005165/0.2557, allocations: 4.384 MB / 473.3 MB, free: 4.422 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.2578, allocations: 2.45 MB / 475.7 MB, free: 1.965 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004316/0.2583, allocations: 476 kB / 476.2 MB, free: 1.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.2599, allocations: 1.019 MB / 477.2 MB, free: 492 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005367/0.2605, allocations: 1.085 MB / 478.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.262, allocations: 1.986 MB / 480.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006163/0.2682, allocations: 7.19 MB / 487.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2682, allocations: 0 / 487.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2682, allocations: 0 / 487.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.2683, allocations: 0 / 487.5 MB, free: 6.184 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 862 * Number of variables: 862 Notification: Performance of Generate backend data structure: time 0.01113/0.2794, allocations: 7.015 MB / 494.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2794, allocations: 8.031 kB / 494.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.282, allocations: 1.036 MB / 495.5 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.2857, allocations: 3.119 MB / 498.6 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.2858, allocations: 283.1 kB / 498.9 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/0.2861, allocations: 376.4 kB / 499.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004399/0.2905, allocations: 4.782 MB / 0.4922 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.2906, allocations: 23.75 kB / 0.4923 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.2908, allocations: 152 kB / 0.4924 GB, free: 4.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.2908, allocations: 92 kB / 0.4925 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/0.2943, allocations: 3.147 MB / 0.4956 GB, free: 1.418 MB / 394.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.01861/0.3129, allocations: 19.89 MB / 0.515 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.3167, allocations: 2.692 MB / 0.5176 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.318, allocations: 1.108 MB / 0.5187 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.3181, allocations: 42.98 kB / 0.5188 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.262e-05/0.3181, allocations: 77.44 kB / 0.5188 GB, free: 9.016 MB / 426.7 MB Notification: Performance of pre-optimization done (n=297): time 8.116e-06/0.3182, allocations: 0 / 0.5188 GB, free: 9.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=297): time 0.009037/0.3272, allocations: 5.139 MB / 0.5238 GB, free: 3.863 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.3273, allocations: 222.8 kB / 0.5241 GB, free: 3.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/0.331, allocations: 3.535 MB / 0.5275 GB, free: 44 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.3313, allocations: 101.8 kB / 0.5276 GB, free: 15.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.3324, allocations: 1.972 MB / 0.5295 GB, free: 13.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.3336, allocations: 1.194 MB / 0.5307 GB, free: 12.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/0.3351, allocations: 1.473 MB / 0.5321 GB, free: 11.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.3351, allocations: 309.1 kB / 0.5324 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/0.3378, allocations: 2.352 MB / 0.5347 GB, free: 8.582 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/0.3413, allocations: 3.518 MB / 0.5382 GB, free: 4.781 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005147/0.3464, allocations: 4.621 MB / 0.5427 GB, free: 15.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.469e-05/0.3465, allocations: 4 kB / 0.5427 GB, free: 15.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=1060) (initialization): time 0.01162/0.3581, allocations: 8.287 MB / 0.5508 GB, free: 7.637 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.3581, allocations: 8 kB / 0.5508 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.3581, allocations: 12 kB / 0.5508 GB, free: 7.617 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005722/0.3639, allocations: 2.138 MB / 0.5529 GB, free: 5.438 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/0.3677, allocations: 1.588 MB / 0.5544 GB, free: 3.848 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.3865, allocations: 24.02 MB / 0.5779 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005502/0.392, allocations: 0.5784 MB / 0.5785 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005362/0.3925, allocations: 279.9 kB / 0.5787 GB, free: 9.637 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004234/0.3968, allocations: 2.851 MB / 0.5815 GB, free: 6.773 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003225/0.4, allocations: 3.416 MB / 0.5848 GB, free: 3.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1969/0.5969, allocations: 4.448 MB / 0.5892 GB, free: 154.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.79e-05/0.5969, allocations: 4.062 kB / 0.5892 GB, free: 154.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1060) (initialization_lambda0): time 0.009826/0.6067, allocations: 7.472 MB / 0.5965 GB, free: 153.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.6068, allocations: 10.56 kB / 0.5965 GB, free: 153.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.6068, allocations: 16.12 kB / 0.5965 GB, free: 153.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004768/0.6116, allocations: 1.612 MB / 0.5981 GB, free: 153.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/0.6152, allocations: 1.663 MB / 0.5997 GB, free: 153.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.6253, allocations: 19.39 MB / 0.6186 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/0.6293, allocations: 478.6 kB / 0.6191 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/0.6296, allocations: 266.8 kB / 0.6194 GB, free: 136.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 9 (GRIDL.componentPF.isSlackBus,GRID.componentPF.isSlackBus,NTLV.componentPF.isSlackBus,GEN.componentPF.isSlackBus,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 (984): * Single equations (assignments): 971 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,0,100.0%), (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): 7 systems {(38,0), (10,0), (19,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.000899/0.6305, allocations: 0.5161 MB / 0.6199 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/0.6309, allocations: 431.2 kB / 0.6203 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/0.6348, allocations: 3.156 MB / 0.6234 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/0.6348, allocations: 21.62 kB / 0.6234 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6348, allocations: 0 / 0.6234 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.6359, allocations: 0.786 MB / 0.6241 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.6362, allocations: 60.02 kB / 0.6242 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.6373, allocations: 148.5 kB / 0.6243 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.6376, allocations: 237.9 kB / 0.6246 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003753/0.6413, allocations: 3.203 MB / 0.6277 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00366/0.645, allocations: 4.05 MB / 0.6317 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009009/0.6459, allocations: 0.9961 MB / 0.6326 GB, free: 130.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00181/0.6477, allocations: 2.133 MB / 0.6347 GB, free: 128.9 MB / 490.7 MB Notification: Performance of Backend: time 4.71e-07/0.6477, allocations: 0 / 0.6347 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01304/0.6607, allocations: 12.2 MB / 0.6466 GB, free: 117.8 MB / 490.7 MB Notification: Performance of SimCode: time 0.007539/0.6683, allocations: 8.932 MB / 0.6553 GB, free: 109.2 MB / 490.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.509471073746681] Failed to read output from testmodel.py, exit status != 0: 0.9411146622151136 0.946520512 0.67703676 Calling exit ...