Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF.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.00136/0.00136, 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.001509/0.001509, allocations: 177 kB / 23.49 MB, free: 1.055 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.182/1.182, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.05302/0.05302, allocations: 12.91 MB / 273.2 MB, free: 0.6094 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.TestPropControlledSynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF") translateModel(PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.047e-06/4.047e-06, allocations: 0 / 346.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.327e-05/4.732e-05, allocations: 4.984 kB / 346.3 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF): time 0.02622/0.02627, allocations: 20.41 MB / 366.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.04335, allocations: 6.914 MB / 373.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005214/0.04857, allocations: 71.44 kB / 373.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004551/0.05312, allocations: 0.8491 MB / 374.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.06434, allocations: 3.021 MB / 377.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.06897, allocations: 1.612 MB / 379.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01061/0.07958, allocations: 6.041 MB / 385.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004437/0.08401, allocations: 1.419 MB / 386.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009036/0.09305, allocations: 2.856 MB / 389.4 MB, free: 7.352 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00458/0.09763, allocations: 1.604 MB / 391.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.0988, allocations: 280 kB / 391.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.1017, allocations: 0.6479 MB / 392 MB, free: 4.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007494/0.1025, allocations: 0.661 MB / 392.6 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003449/0.1059, allocations: 1.285 MB / 393.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006823/0.1127, allocations: 2.748 MB / 396.7 MB, free: 112 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.1128, allocations: 4 kB / 396.7 MB, free: 108 kB / 314.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1128, allocations: 0 / 396.7 MB, free: 108 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001413/0.1129, allocations: 4 kB / 396.7 MB, free: 104 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.01157/0.1245, allocations: 4.734 MB / 401.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.906e-05/0.1246, allocations: 8.031 kB / 401.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002939/0.1275, allocations: 0.8187 MB / 402.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004673/0.1322, allocations: 1.959 MB / 404.2 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.1324, allocations: 236.8 kB / 404.4 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004535/0.1328, allocations: 244.3 kB / 404.7 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/0.1363, allocations: 2.97 MB / 407.6 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.1364, allocations: 16 kB / 407.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/0.1365, allocations: 99.94 kB / 407.7 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.1366, allocations: 52 kB / 407.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.1383, allocations: 1.169 MB / 409 MB, free: 3.078 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.2839/0.4221, allocations: 17.2 MB / 426.2 MB, free: 31.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.4244, allocations: 1.01 MB / 427.2 MB, free: 31.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.425, allocations: 350.1 kB / 427.5 MB, free: 31.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.8e-05/0.4251, allocations: 35.58 kB / 427.6 MB, free: 31.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.4267, allocations: 1.701 MB / 429.3 MB, free: 30.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=157): time 9.918e-06/0.4267, allocations: 0 / 429.3 MB, free: 30.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=157): time 0.007668/0.4344, allocations: 2.346 MB / 431.6 MB, free: 30.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003149/0.4347, allocations: 0.7462 MB / 432.3 MB, free: 29.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/0.4392, allocations: 2.247 MB / 434.6 MB, free: 28.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004097/0.4397, allocations: 74.73 kB / 434.7 MB, free: 28.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.4411, allocations: 1.412 MB / 436.1 MB, free: 28.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00081/0.4419, allocations: 0.6532 MB / 436.7 MB, free: 28.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001927/0.4438, allocations: 1.114 MB / 437.8 MB, free: 27.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.4439, allocations: 476.8 kB / 438.3 MB, free: 27.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.4458, allocations: 1.031 MB / 439.3 MB, free: 27.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.4482, allocations: 2.018 MB / 441.4 MB, free: 26.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.4515, allocations: 2.383 MB / 443.7 MB, free: 25.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.638e-05/0.4515, allocations: 3.625 kB / 443.7 MB, free: 25.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.006945/0.4585, allocations: 4.42 MB / 448.2 MB, free: 25.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.4585, allocations: 39.38 kB / 448.2 MB, free: 25.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.4585, allocations: 11.78 kB / 448.2 MB, free: 25.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006425/0.465, allocations: 1.47 MB / 449.7 MB, free: 24.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004203/0.4692, allocations: 1.185 MB / 450.9 MB, free: 23.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009707/0.4789, allocations: 19.09 MB / 470 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/0.4831, allocations: 422.3 kB / 470.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006865/0.4838, allocations: 196 kB / 470.6 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003103/0.4869, allocations: 1.226 MB / 471.8 MB, free: 2.086 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002458/0.4893, allocations: 2.023 MB / 473.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003716/0.493, allocations: 2.375 MB / 476.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.589e-05/0.4931, allocations: 4 kB / 476.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=750) (initialization_lambda0): time 0.009427/0.5025, allocations: 4.35 MB / 480.5 MB, free: 8.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.288e-05/0.5026, allocations: 45.69 kB / 480.6 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.5026, allocations: 8 kB / 480.6 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007063/0.5097, allocations: 1.417 MB / 482 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00459/0.5143, allocations: 1.189 MB / 483.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.5258, allocations: 18.11 MB / 0.4896 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005469/0.5313, allocations: 345.3 kB / 0.4899 GB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000801/0.5321, allocations: 200 kB / 0.4901 GB, free: 2.594 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 20 (loadPQ11.isSlackBus,loadPQ12.componentPF.isSlackBus,slackBus1.isSlackBus,bus1.isSlackBus,busGen12.componentPF.isSlackBus,GEN12.componentPF.isSlackBus,AVR.limiterWithLag.satON,$PRE.AVR.limiterWithLag.satON,AVR.limiterWithLag.saturationLimitReached,$PRE.AVR.limiterWithLag.saturationLimitReached,AVR.limiterWithLag.state,$PRE.AVR.limiterWithLag.state,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,GEN12.isSlackBus,GEN12.isReferenceBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 718 * 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%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,1), (6,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001366/0.5334, allocations: 0.5389 MB / 0.4906 GB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/0.5346, allocations: 345.4 kB / 0.4909 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.5374, allocations: 1.424 MB / 0.4923 GB, free: 340 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.5374, allocations: 7.984 kB / 0.4923 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5374, allocations: 2.062 kB / 0.4923 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/0.539, allocations: 0.5104 MB / 0.4928 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.5394, allocations: 39.94 kB / 0.4929 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.5404, allocations: 87.94 kB / 0.493 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.5408, allocations: 134.3 kB / 0.4931 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00323/0.544, allocations: 2.867 MB / 0.4959 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004111/0.5481, allocations: 3.281 MB / 0.4991 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006113/0.5487, allocations: 418.9 kB / 0.4995 GB, free: 8.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002195/0.5509, allocations: 1.211 MB / 0.5007 GB, free: 7.773 MB / 378.7 MB Notification: Performance of Backend: time 1.372e-06/0.5509, allocations: 0 / 0.5007 GB, free: 7.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.015/0.5659, allocations: 8.558 MB / 0.509 GB, free: 15.03 MB / 394.7 MB Notification: Performance of SimCode: time 0.01133/0.5772, allocations: 5.745 MB / 0.5146 GB, free: 9.234 MB / 394.7 MB [CodegenCpp.tpl:12459:11-12459:11:writable] Error: Template error: Unsupported zero crossing at 2: AVR.gain.y < AVR.limiterWithLag.uMax and AVR.gain.y > AVR.limiterWithLag.uMin. [CodegenCpp.tpl:12459:11-12459:11:writable] Error: Template error: Unsupported zero crossing at 3: AVR.limiterWithLag.useLag and AVR.limiterWithLag.state == AVR.limiterWithLag.State.upperSat and time - AVR.limiterWithLag.saturationLimitReached > AVR.limiterWithLag.LagMax. [CodegenCpp.tpl:12459:11-12459:11:writable] Error: Template error: Unsupported zero crossing at 4: AVR.limiterWithLag.useLag and AVR.limiterWithLag.state == AVR.limiterWithLag.State.lowerSat and time - AVR.limiterWithLag.saturationLimitReached > AVR.limiterWithLag.LagMin. Error: Internal error SimCode DAEmode: The model PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.009659363189712]