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.001009/0.001009, allocations: 88.52 kB / 19.94 MB, free: 4.609 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.001603/0.001603, allocations: 173.9 kB / 23.21 MB, free: 1.332 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.069/1.069, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.04873/0.04873, allocations: 12.96 MB / 272.9 MB, free: 0.6992 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 2.124e-06/2.124e-06, allocations: 0 / 403.6 MB, free: 9.082 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.483e-05, allocations: 5.094 kB / 403.6 MB, free: 9.078 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF): time 0.2226/0.2226, allocations: 19.37 MB / 423 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.2345, allocations: 7.192 MB / 430.2 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.2377, allocations: 87.97 kB / 430.3 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.2402, allocations: 0.8951 MB / 431.2 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.2468, allocations: 3.082 MB / 434.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.2501, allocations: 1.921 MB / 436.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008223/0.2584, allocations: 6.47 MB / 442.6 MB, free: 15.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.2612, allocations: 1.694 MB / 444.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004725/0.266, allocations: 3.083 MB / 447.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.2683, allocations: 1.698 MB / 449.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006671/0.269, allocations: 326.1 kB / 449.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.2708, allocations: 0.6906 MB / 450.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000473/0.2712, allocations: 0.7549 MB / 450.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.2727, allocations: 1.388 MB / 452.3 MB, free: 8.789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004088/0.2768, allocations: 4.802 MB / 457.1 MB, free: 3.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2768, allocations: 0 / 457.1 MB, free: 3.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2768, allocations: 0 / 457.1 MB, free: 3.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.513e-05/0.2769, allocations: 4 kB / 457.1 MB, free: 3.969 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: 564 * Number of variables: 564 Notification: Performance of Generate backend data structure: time 0.007406/0.2843, allocations: 4.939 MB / 462 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.2843, allocations: 8.031 kB / 462 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.2858, allocations: 0.6662 MB / 462.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.2886, allocations: 2.202 MB / 464.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.707e-05/0.2887, allocations: 184.8 kB / 465.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.289, allocations: 252.3 kB / 465.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00355/0.2925, allocations: 3.559 MB / 468.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.2926, allocations: 12.06 kB / 468.9 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.2927, allocations: 108.1 kB / 469 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.2927, allocations: 60 kB / 469 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.2951, allocations: 2.057 MB / 471.1 MB, free: 5.238 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.01227/0.3073, allocations: 14.43 MB / 485.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.3095, allocations: 1.501 MB / 487 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.3102, allocations: 0.6072 MB / 487.6 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/0.3103, allocations: 29.27 kB / 487.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.3103, allocations: 63.84 kB / 487.7 MB, free: 4.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 4.969e-06/0.3103, allocations: 0 / 487.7 MB, free: 4.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.004988/0.3153, allocations: 2.859 MB / 490.6 MB, free: 1.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.3154, allocations: 204.9 kB / 490.8 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.3179, allocations: 2.715 MB / 493.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.3181, allocations: 69.7 kB / 493.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/0.3189, allocations: 1.487 MB / 495.1 MB, free: 12.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006823/0.3196, allocations: 0.6899 MB / 495.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.3206, allocations: 1.086 MB / 496.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.3207, allocations: 305.1 kB / 497.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.3225, allocations: 1.623 MB / 498.8 MB, free: 8.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/0.3248, allocations: 2.453 MB / 0.4895 GB, free: 6.285 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.3281, allocations: 3.14 MB / 0.4925 GB, free: 3.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.3281, allocations: 4 kB / 0.4925 GB, free: 3.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=767) (initialization): time 0.006372/0.3345, allocations: 5.298 MB / 0.4977 GB, free: 13.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3345, allocations: 8 kB / 0.4977 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.3345, allocations: 12 kB / 0.4977 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003345/0.3379, allocations: 1.09 MB / 0.4988 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/0.3415, allocations: 1.728 MB / 0.5005 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.3548, allocations: 22.31 MB / 0.5223 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/0.3585, allocations: 445.3 kB / 0.5227 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/0.3587, allocations: 196 kB / 0.5229 GB, free: 2.223 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003026/0.3617, allocations: 1.984 MB / 0.5248 GB, free: 236 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002345/0.3641, allocations: 2.374 MB / 0.5271 GB, free: 13.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002946/0.367, allocations: 3.035 MB / 0.5301 GB, free: 10.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.708e-06/0.367, allocations: 0 / 0.5301 GB, free: 10.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=767) (initialization_lambda0): time 0.006328/0.3734, allocations: 5.161 MB / 0.5351 GB, free: 5.281 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3734, allocations: 12.09 kB / 0.5351 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3734, allocations: 12 kB / 0.5351 GB, free: 5.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/0.3767, allocations: 1.089 MB / 0.5362 GB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.3792, allocations: 1.233 MB / 0.5374 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007899/0.387, allocations: 13.65 MB / 0.5508 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.3899, allocations: 350 kB / 0.5511 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.3901, allocations: 192 kB / 0.5513 GB, free: 3.672 MB / 458.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 (753): * Single equations (assignments): 737 * 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.0009288/0.3911, allocations: 443.5 kB / 0.5517 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/0.3915, allocations: 318 kB / 0.552 GB, free: 2.918 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.3942, allocations: 1.848 MB / 0.5538 GB, free: 1.055 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3942, allocations: 11.97 kB / 0.5538 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3942, allocations: 0 / 0.5538 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008311/0.3951, allocations: 0.5366 MB / 0.5543 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.3953, allocations: 28 kB / 0.5544 GB, free: 488 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/0.3962, allocations: 127.9 kB / 0.5545 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.3963, allocations: 148.4 kB / 0.5546 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00251/0.3989, allocations: 1.959 MB / 0.5565 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002617/0.4015, allocations: 2.583 MB / 0.5591 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006858/0.4022, allocations: 0.5897 MB / 0.5596 GB, free: 11.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001954/0.4041, allocations: 1.622 MB / 0.5612 GB, free: 9.418 MB / 474.7 MB Notification: Performance of Backend: time 1.2e-07/0.4041, allocations: 4 kB / 0.5612 GB, free: 9.414 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01169/0.4158, allocations: 8.261 MB / 0.5693 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of SimCode: time 0.006593/0.4224, allocations: 6.08 MB / 0.5752 GB, free: 10.8 MB / 490.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.713774276897311]