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.001572/0.001572, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.001925/0.001925, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.052/1.052, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.04984/0.04984, allocations: 12.97 MB / 272.9 MB, free: 0.6836 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 2.645e-06/2.645e-06, allocations: 0 / 403.6 MB, free: 9.078 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.101e-05/5.365e-05, allocations: 2.281 kB / 403.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF): time 0.2602/0.2603, allocations: 18.69 MB / 422.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.2734, allocations: 6.756 MB / 429.1 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004449/0.2779, allocations: 68.94 kB / 429.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00419/0.2821, allocations: 0.8575 MB / 430 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009766/0.2918, allocations: 2.995 MB / 433 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.296, allocations: 1.654 MB / 434.6 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009539/0.3056, allocations: 6.045 MB / 440.7 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.3087, allocations: 1.432 MB / 442.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007627/0.3163, allocations: 2.858 MB / 445 MB, free: 13.77 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004279/0.3206, allocations: 1.592 MB / 446.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.3216, allocations: 278 kB / 446.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.3245, allocations: 0.6541 MB / 447.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004939/0.325, allocations: 0.6658 MB / 448.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002951/0.328, allocations: 1.287 MB / 449.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007607/0.3356, allocations: 4.33 MB / 453.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.3356, allocations: 3.984 kB / 453.8 MB, free: 7.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.448e-06/0.3356, allocations: 0 / 453.8 MB, free: 7.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002169/0.3358, allocations: 0 / 453.8 MB, free: 7.281 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: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.01232/0.3481, allocations: 4.585 MB / 458.4 MB, free: 2.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.3482, allocations: 8.031 kB / 458.4 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.3503, allocations: 0.6274 MB / 459 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.3537, allocations: 1.968 MB / 461 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.3539, allocations: 225.4 kB / 461.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.3541, allocations: 228.4 kB / 461.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.3575, allocations: 3.182 MB / 464.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.3576, allocations: 20.06 kB / 464.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.3577, allocations: 95.94 kB / 464.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.3578, allocations: 52 kB / 464.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.3601, allocations: 1.841 MB / 466.6 MB, free: 9.855 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.01716/0.3772, allocations: 13.5 MB / 480.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.3795, allocations: 1.318 MB / 481.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006678/0.3802, allocations: 0.5297 MB / 481.9 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.431e-05/0.3803, allocations: 28.86 kB / 482 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.3822, allocations: 1.853 MB / 483.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 7.684e-06/0.3822, allocations: 3.938 kB / 483.8 MB, free: 7.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.005909/0.3881, allocations: 2.848 MB / 486.7 MB, free: 4.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002822/0.3884, allocations: 0.7386 MB / 487.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003421/0.3918, allocations: 2.496 MB / 489.9 MB, free: 1.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003739/0.3922, allocations: 69.7 kB / 490 MB, free: 1.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.3935, allocations: 1.349 MB / 491.3 MB, free: 96 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006824/0.3942, allocations: 0.6398 MB / 492 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.3954, allocations: 1.07 MB / 493 MB, free: 14.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.3955, allocations: 305.1 kB / 493.3 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.3974, allocations: 1.557 MB / 494.9 MB, free: 12.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.4001, allocations: 2.421 MB / 497.3 MB, free: 9.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/0.4033, allocations: 2.958 MB / 0.4885 GB, free: 6.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.088e-05/0.4033, allocations: 7.625 kB / 0.4885 GB, free: 6.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.007199/0.4105, allocations: 5.204 MB / 0.4936 GB, free: 1.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.4106, allocations: 45.69 kB / 0.4937 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.4106, allocations: 11.94 kB / 0.4937 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00357/0.4141, allocations: 1.151 MB / 0.4948 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.4174, allocations: 1.198 MB / 0.496 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009854/0.4273, allocations: 14.43 MB / 0.5101 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/0.4313, allocations: 433.4 kB / 0.5105 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006171/0.432, allocations: 196 kB / 0.5107 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003279/0.4352, allocations: 1.954 MB / 0.5126 GB, free: 12.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002595/0.4378, allocations: 2.41 MB / 0.5149 GB, free: 10.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003163/0.441, allocations: 2.961 MB / 0.5178 GB, free: 7.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.621e-05/0.441, allocations: 4 kB / 0.5178 GB, free: 7.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=751) (initialization_lambda0): time 0.007619/0.4486, allocations: 5.127 MB / 0.5228 GB, free: 2.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.4487, allocations: 41.69 kB / 0.5229 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4487, allocations: 8 kB / 0.5229 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003359/0.4521, allocations: 1.094 MB / 0.5239 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/0.4553, allocations: 1.19 MB / 0.5251 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008722/0.464, allocations: 13.66 MB / 0.5384 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/0.4685, allocations: 362 kB / 0.5388 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007099/0.4692, allocations: 192.2 kB / 0.539 GB, free: 464 kB / 442.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 (730): * Single equations (assignments): 719 * 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.001149/0.4704, allocations: 466.8 kB / 0.5394 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006872/0.4711, allocations: 302.1 kB / 0.5397 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.4739, allocations: 1.779 MB / 0.5414 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.4739, allocations: 15.97 kB / 0.5415 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.474, allocations: 4 kB / 0.5415 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.4753, allocations: 0.4977 MB / 0.5419 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.4755, allocations: 39.98 kB / 0.542 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4766, allocations: 119.9 kB / 0.5421 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.4768, allocations: 144.3 kB / 0.5422 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00286/0.4797, allocations: 2.711 MB / 0.5449 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003337/0.483, allocations: 3.277 MB / 0.5481 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009429/0.484, allocations: 0.6011 MB / 0.5487 GB, free: 6.371 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002066/0.486, allocations: 1.49 MB / 0.5501 GB, free: 4.875 MB / 458.7 MB Notification: Performance of Backend: time 1.292e-06/0.486, allocations: 0 / 0.5501 GB, free: 4.875 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01285/0.4989, allocations: 7.777 MB / 0.5577 GB, free: 12.8 MB / 474.7 MB Notification: Performance of SimCode: time 0.009375/0.5083, allocations: 5.571 MB / 0.5632 GB, free: 7.191 MB / 474.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: 2.8196741361171007]