Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF.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.001548/0.001548, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001632/0.001632, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.209/1.209, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.05139/0.05139, allocations: 12.92 MB / 273.2 MB, free: 0.6133 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.Electrical.Test.TestControlledSynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF") translateModel(PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 346.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.029e-05, allocations: 5.266 kB / 346.3 MB, free: 2.738 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF): time 0.01724/0.01727, allocations: 21.13 MB / 367.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.03085, allocations: 7.354 MB / 374.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/0.03415, allocations: 91.25 kB / 374.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.03672, allocations: 0.8955 MB / 375.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007741/0.04446, allocations: 3.088 MB / 378.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003392/0.04785, allocations: 1.877 MB / 380.7 MB, free: 172 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008357/0.05621, allocations: 6.466 MB / 387.2 MB, free: 9.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.05935, allocations: 1.706 MB / 388.9 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/0.06377, allocations: 3.075 MB / 391.9 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.06561, allocations: 1.717 MB / 393.7 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004699/0.06608, allocations: 320 kB / 394 MB, free: 2.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.06753, allocations: 0.6948 MB / 394.7 MB, free: 2.117 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004846/0.06802, allocations: 0.7545 MB / 395.4 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.06963, allocations: 1.39 MB / 396.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.07369, allocations: 2.993 MB / 399.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.07371, allocations: 3.984 kB / 399.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.07371, allocations: 0 / 399.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.929e-05/0.07376, allocations: 0 / 399.8 MB, free: 12.96 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 564 * Number of variables: 564 Notification: Performance of Generate backend data structure: time 0.008828/0.08259, allocations: 5.074 MB / 404.9 MB, free: 7.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.683e-05/0.08265, allocations: 8.031 kB / 404.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.08473, allocations: 0.8654 MB / 405.8 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/0.08814, allocations: 2.216 MB / 408 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.08829, allocations: 184.8 kB / 408.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.08862, allocations: 272.3 kB / 408.4 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.09213, allocations: 3.279 MB / 411.7 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.09217, allocations: 16.06 kB / 411.7 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.09233, allocations: 112.1 kB / 411.8 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.09238, allocations: 56 kB / 411.9 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2392/0.3316, allocations: 1.207 MB / 413.1 MB, free: 43.94 MB / 330.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.01575/0.3474, allocations: 18.24 MB / 431.3 MB, free: 31.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.3494, allocations: 1.077 MB / 432.4 MB, free: 30.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.35, allocations: 348.2 kB / 432.7 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.651e-05/0.3501, allocations: 40.17 kB / 432.8 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.3501, allocations: 71.77 kB / 432.9 MB, free: 30.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=167): time 5.31e-06/0.3501, allocations: 0 / 432.9 MB, free: 30.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=167): time 0.005032/0.3552, allocations: 2.167 MB / 435 MB, free: 30.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.3553, allocations: 202 kB / 435.2 MB, free: 30.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.3579, allocations: 2.43 MB / 437.6 MB, free: 29.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.358, allocations: 71.61 kB / 437.7 MB, free: 29.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.359, allocations: 1.547 MB / 439.3 MB, free: 29.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005937/0.3596, allocations: 0.7068 MB / 440 MB, free: 29.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/0.3609, allocations: 1.136 MB / 441.1 MB, free: 28.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.361, allocations: 476.8 kB / 441.6 MB, free: 28.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.3623, allocations: 1.017 MB / 442.6 MB, free: 28.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.3642, allocations: 2.007 MB / 444.6 MB, free: 27.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.3668, allocations: 2.423 MB / 447 MB, free: 26.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.3668, allocations: 2.062 kB / 447 MB, free: 26.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=766) (initialization): time 0.005478/0.3723, allocations: 4.381 MB / 451.4 MB, free: 23.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.3723, allocations: 8 kB / 451.4 MB, free: 23.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.3723, allocations: 8 kB / 451.4 MB, free: 23.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/0.3774, allocations: 1.42 MB / 452.8 MB, free: 22.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/0.3804, allocations: 1.532 MB / 454.4 MB, free: 20.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.3939, allocations: 29.17 MB / 483.5 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/0.3978, allocations: 442.7 kB / 484 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.398, allocations: 192 kB / 484.2 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00259/0.4006, allocations: 1.213 MB / 485.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002415/0.403, allocations: 1.989 MB / 487.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003326/0.4064, allocations: 2.425 MB / 489.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-05/0.4064, allocations: 0 / 489.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=766) (initialization_lambda0): time 0.00686/0.4132, allocations: 4.347 MB / 494.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.4133, allocations: 20.08 kB / 494.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.4133, allocations: 11.94 kB / 494.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005304/0.4186, allocations: 1.409 MB / 495.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/0.4213, allocations: 1.235 MB / 496.8 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.4323, allocations: 18.12 MB / 0.5029 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/0.4359, allocations: 344.1 kB / 0.5032 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/0.4363, allocations: 196 kB / 0.5034 GB, free: 4.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 10 (loadPQ11.isSlackBus,loadPQ12.componentPF.isSlackBus,slackBus1.isSlackBus,bus1.isSlackBus,busGen12.componentPF.isSlackBus,GEN12.componentPF.isSlackBus,GEN12.isSlackBus,GEN12.isReferenceBus,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 (752): * Single equations (assignments): 736 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(6,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.00121/0.4375, allocations: 0.5089 MB / 0.5039 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000638/0.4381, allocations: 369.7 kB / 0.5042 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.4409, allocations: 1.366 MB / 0.5056 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.4409, allocations: 7.969 kB / 0.5056 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4409, allocations: 0 / 0.5056 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.4419, allocations: 0.5406 MB / 0.5061 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.4422, allocations: 32 kB / 0.5061 GB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000895/0.4431, allocations: 87.94 kB / 0.5062 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.4433, allocations: 144.5 kB / 0.5063 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002318/0.4456, allocations: 1.528 MB / 0.5078 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002157/0.4478, allocations: 1.952 MB / 0.5097 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004995/0.4483, allocations: 368.2 kB / 0.5101 GB, free: 13.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001582/0.4499, allocations: 1.313 MB / 0.5114 GB, free: 12.37 MB / 394.7 MB Notification: Performance of Backend: time 5.21e-07/0.4499, allocations: 0 / 0.5114 GB, free: 12.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01315/0.463, allocations: 8.706 MB / 0.5199 GB, free: 3.531 MB / 394.7 MB Notification: Performance of SimCode: time 0.009908/0.4729, allocations: 6.238 MB / 0.526 GB, free: 13.29 MB / 410.7 MB [CodegenCpp.tpl:12459:11-12459: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:12459:11-12459: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.Electrical.Test.TestControlledSynchronousMachine4WindingsPF could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.893823374994099]