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.001068/0.001068, allocations: 89.08 kB / 19.42 MB, free: 488 kB / 13.93 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.000996/0.000996, allocations: 169 kB / 22.72 MB, free: 1.82 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.904/0.904, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.04704/0.04704, allocations: 12.91 MB / 272.4 MB, free: 0.5977 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 1.633e-06/1.633e-06, allocations: 0 / 346.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.307e-05, allocations: 2.312 kB / 346.3 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF): time 0.01265/0.01266, allocations: 20.41 MB / 366.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00849/0.02115, allocations: 6.914 MB / 373.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009418/0.0221, allocations: 67.44 kB / 373.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.0234, allocations: 0.8454 MB / 374.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.02682, allocations: 3.014 MB / 377.5 MB, free: 2.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.02911, allocations: 1.62 MB / 379.2 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004079/0.03319, allocations: 6.045 MB / 385.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.03479, allocations: 1.419 MB / 386.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.03731, allocations: 2.864 MB / 389.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.03934, allocations: 1.597 MB / 391.1 MB, free: 4.934 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006995/0.04004, allocations: 280 kB / 391.4 MB, free: 4.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.04141, allocations: 0.6518 MB / 392 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000441/0.04186, allocations: 0.6649 MB / 392.7 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.04345, allocations: 1.293 MB / 394 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.04613, allocations: 2.748 MB / 396.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.04614, allocations: 4 kB / 396.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.04614, allocations: 0 / 396.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.961e-05/0.0462, allocations: 0 / 396.7 MB, free: 15.28 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: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.006951/0.05315, allocations: 4.733 MB / 401.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.05319, allocations: 11.97 kB / 401.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.05491, allocations: 0.8148 MB / 402.3 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.05717, allocations: 1.959 MB / 404.2 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.05731, allocations: 228.9 kB / 404.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.05755, allocations: 244.4 kB / 404.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.05986, allocations: 2.977 MB / 407.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.05989, allocations: 12.06 kB / 407.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.06001, allocations: 99.94 kB / 407.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.06005, allocations: 52 kB / 407.8 MB, free: 3.445 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.06155, allocations: 1.173 MB / 409 MB, free: 2.262 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.1195/0.181, allocations: 17.19 MB / 426.2 MB, free: 58.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.1825, allocations: 1.006 MB / 427.2 MB, free: 57.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/0.183, allocations: 349.7 kB / 427.5 MB, free: 57.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.1831, allocations: 31.34 kB / 427.6 MB, free: 57.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009771/0.184, allocations: 1.703 MB / 429.3 MB, free: 56.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=157): time 4.128e-06/0.184, allocations: 0 / 429.3 MB, free: 56.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=157): time 0.004315/0.1883, allocations: 2.346 MB / 431.6 MB, free: 55.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1885, allocations: 0.7384 MB / 432.4 MB, free: 54.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.1901, allocations: 2.253 MB / 434.6 MB, free: 54.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.1902, allocations: 71.45 kB / 434.7 MB, free: 54.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/0.1907, allocations: 1.408 MB / 436.1 MB, free: 53.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.191, allocations: 0.6556 MB / 436.7 MB, free: 52.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009/0.1919, allocations: 1.111 MB / 437.9 MB, free: 52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.203e-05/0.192, allocations: 484.7 kB / 438.3 MB, free: 51.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.1931, allocations: 1.025 MB / 439.4 MB, free: 51.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.1946, allocations: 2.021 MB / 441.4 MB, free: 49.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.1965, allocations: 2.377 MB / 443.8 MB, free: 46.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.1966, allocations: 6.75 kB / 443.8 MB, free: 46.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.004399/0.201, allocations: 4.403 MB / 448.2 MB, free: 42.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.201, allocations: 52.38 kB / 448.2 MB, free: 42.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.201, allocations: 8 kB / 448.2 MB, free: 42.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005046/0.206, allocations: 1.496 MB / 449.7 MB, free: 40.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.2082, allocations: 1.19 MB / 450.9 MB, free: 39.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.2135, allocations: 19.11 MB / 470 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.2153, allocations: 418.4 kB / 470.4 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.2155, allocations: 192 kB / 470.6 MB, free: 18.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001429/0.2169, allocations: 1.226 MB / 471.8 MB, free: 17.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001477/0.2184, allocations: 2.027 MB / 473.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001948/0.2203, allocations: 2.376 MB / 476.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.568e-06/0.2204, allocations: 8 kB / 476.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=750) (initialization_lambda0): time 0.004338/0.2247, allocations: 4.346 MB / 480.6 MB, free: 8.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.2247, allocations: 42.02 kB / 480.6 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.2247, allocations: 12 kB / 480.6 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004982/0.2297, allocations: 1.43 MB / 482.1 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.2319, allocations: 1.19 MB / 483.3 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006952/0.2388, allocations: 18.1 MB / 0.4896 GB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.2412, allocations: 348.1 kB / 0.49 GB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.2414, allocations: 192 kB / 0.4901 GB, free: 1.715 MB / 346.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.000658/0.2421, allocations: 0.5595 MB / 0.4907 GB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/0.2425, allocations: 342.2 kB / 0.491 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.2445, allocations: 1.423 MB / 0.4924 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2445, allocations: 11.97 kB / 0.4924 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2445, allocations: 4 kB / 0.4924 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007072/0.2452, allocations: 0.5022 MB / 0.4929 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.2454, allocations: 40 kB / 0.4929 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.2466, allocations: 87.94 kB / 0.493 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.2469, allocations: 144.1 kB / 0.4932 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003152/0.2501, allocations: 2.86 MB / 0.496 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002325/0.2524, allocations: 3.289 MB / 0.4992 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004597/0.2528, allocations: 417.8 kB / 0.4996 GB, free: 7.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.2541, allocations: 1.212 MB / 0.5007 GB, free: 6.738 MB / 362.7 MB Notification: Performance of Backend: time 5.31e-07/0.2541, allocations: 0 / 0.5007 GB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008624/0.2627, allocations: 8.57 MB / 0.5091 GB, free: 13.8 MB / 378.7 MB Notification: Performance of SimCode: time 0.005138/0.2678, allocations: 5.12 MB / 0.5141 GB, free: 8.645 MB / 378.7 MB Notification: Performance of Templates: time 0.1772/0.4451, allocations: 76.37 MB / 0.5887 GB, free: 112.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF.pipe 2>&1) [Timeout 240] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_cvode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_cvode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_cvode.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_cvode.pipe 2>&1) [Timeout 240] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_gbode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_gbode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_gbode.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3389650620520115]