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.001007/0.001007, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001089/0.001089, allocations: 169 kB / 23.27 MB, free: 1.223 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.9583/0.9583, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.05183/0.05183, allocations: 12.99 MB / 273.2 MB, free: 312 kB / 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.743e-06/1.743e-06, allocations: 0 / 347.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.19e-05, allocations: 2.312 kB / 347.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF): time 0.01566/0.01568, allocations: 20.8 MB / 368.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.02632, allocations: 7.342 MB / 375.7 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.02922, allocations: 87.25 kB / 375.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.03142, allocations: 0.9072 MB / 376.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006758/0.03818, allocations: 3.076 MB / 379.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.04183, allocations: 1.867 MB / 381.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007025/0.04886, allocations: 6.483 MB / 388.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.05112, allocations: 1.71 MB / 389.9 MB, free: 6.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005223/0.05634, allocations: 3.176 MB / 393 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.05915, allocations: 1.651 MB / 394.7 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006073/0.05976, allocations: 308 kB / 395 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.06122, allocations: 0.6518 MB / 395.6 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.0616, allocations: 0.735 MB / 396.4 MB, free: 236 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.06264, allocations: 1.328 MB / 397.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00311/0.06575, allocations: 2.95 MB / 400.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.06575, allocations: 4 kB / 400.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.06575, allocations: 0 / 400.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.06578, allocations: 0 / 400.7 MB, free: 11.93 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.007759/0.07354, allocations: 5.042 MB / 405.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/0.07361, allocations: 8.031 kB / 405.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.07604, allocations: 0.8731 MB / 406.6 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004665/0.0807, allocations: 2.028 MB / 408.6 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.08083, allocations: 184.8 kB / 408.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008199/0.08165, allocations: 268.4 kB / 409 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1385/0.2202, allocations: 3.138 MB / 412.2 MB, free: 43.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.153e-05/0.2203, allocations: 14.45 kB / 412.2 MB, free: 43.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.2204, allocations: 107.3 kB / 412.3 MB, free: 43.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/0.2205, allocations: 62.94 kB / 412.4 MB, free: 43.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.2221, allocations: 1.013 MB / 413.4 MB, free: 43.76 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.01175/0.2339, allocations: 17.97 MB / 431.3 MB, free: 30.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.2354, allocations: 0.988 MB / 432.3 MB, free: 30.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.2358, allocations: 302 kB / 432.6 MB, free: 30.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/0.2359, allocations: 37.06 kB / 432.7 MB, free: 30.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.236, allocations: 65.08 kB / 432.7 MB, free: 30.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=167): time 5.09e-06/0.236, allocations: 0 / 432.7 MB, free: 30.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=167): time 0.004936/0.2409, allocations: 2.019 MB / 434.7 MB, free: 30.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.241, allocations: 203.5 kB / 434.9 MB, free: 30.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/0.2436, allocations: 2.388 MB / 437.3 MB, free: 29.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003007/0.2439, allocations: 76.02 kB / 437.4 MB, free: 29.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009915/0.2449, allocations: 1.58 MB / 439 MB, free: 29.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007617/0.2456, allocations: 0.7204 MB / 439.7 MB, free: 28.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.2469, allocations: 1.165 MB / 440.9 MB, free: 28.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.247, allocations: 476.8 kB / 441.3 MB, free: 28.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.2482, allocations: 0.9404 MB / 442.3 MB, free: 28.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.2498, allocations: 1.957 MB / 444.2 MB, free: 27.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.2521, allocations: 2.374 MB / 446.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/0.2521, allocations: 3.906 kB / 446.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=767) (initialization): time 0.005081/0.2572, allocations: 4.209 MB / 450.8 MB, free: 25.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.2572, allocations: 8 kB / 450.8 MB, free: 25.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.2572, allocations: 12 kB / 450.8 MB, free: 25.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004726/0.262, allocations: 1.445 MB / 452.3 MB, free: 23.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/0.2657, allocations: 1.523 MB / 453.8 MB, free: 22.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.2784, allocations: 28.83 MB / 482.6 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003852/0.2823, allocations: 0.5085 MB / 483.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005668/0.2828, allocations: 148 kB / 483.3 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002441/0.2853, allocations: 1.135 MB / 484.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002815/0.2881, allocations: 1.946 MB / 486.4 MB, free: 4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003171/0.2913, allocations: 2.358 MB / 488.7 MB, free: 1.617 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.968e-05/0.2913, allocations: 4 kB / 488.7 MB, free: 1.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=767) (initialization_lambda0): time 0.008049/0.2993, allocations: 4.201 MB / 492.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.2993, allocations: 12 kB / 493 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.2994, allocations: 8 kB / 493 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005371/0.3047, allocations: 1.443 MB / 494.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/0.3079, allocations: 1.234 MB / 495.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008721/0.3166, allocations: 17.9 MB / 0.5015 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/0.3199, allocations: 418.1 kB / 0.5019 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004655/0.3203, allocations: 144 kB / 0.502 GB, free: 7.453 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 (TGOV.firstOrderLim.I.local_reset,AVR.firstOrderLim.I.local_reset,GEN12.isReferenceBus,GEN12.isSlackBus,GEN12.componentPF.isSlackBus,busGen12.componentPF.isSlackBus,bus1.isSlackBus,slackBus1.isSlackBus,loadPQ12.componentPF.isSlackBus,loadPQ11.isSlackBus) * 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.000739/0.3211, allocations: 0.5132 MB / 0.5025 GB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007386/0.3218, allocations: 370 kB / 0.5029 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.3236, allocations: 1.244 MB / 0.5041 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.3236, allocations: 11.91 kB / 0.5041 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3236, allocations: 0 / 0.5041 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.3247, allocations: 0.5639 MB / 0.5047 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.325, allocations: 28 kB / 0.5047 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009177/0.3259, allocations: 91.94 kB / 0.5048 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004462/0.3263, allocations: 140.7 kB / 0.5049 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001892/0.3282, allocations: 1.455 MB / 0.5063 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001855/0.3301, allocations: 1.847 MB / 0.5081 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003638/0.3304, allocations: 334.1 kB / 0.5085 GB, free: 1.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001318/0.3318, allocations: 1.21 MB / 0.5096 GB, free: 15.95 MB / 394.7 MB Notification: Performance of Backend: time 7.31e-07/0.3318, allocations: 0 / 0.5096 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01088/0.3426, allocations: 8.601 MB / 0.518 GB, free: 7.348 MB / 394.7 MB Notification: Performance of SimCode: time 0.008922/0.3516, allocations: 5.836 MB / 0.5237 GB, free: 1.52 MB / 394.7 MB Notification: Performance of Templates: time 0.2242/0.5758, allocations: 77.74 MB / 0.5997 GB, free: 97.93 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF.sim & (cd run_cvode && ../PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF.pipe 2>&1) [Timeout 240] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_gbode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_gbode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_gbode.sim & (cd run_gbode && ../PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_gbode.pipe 2>&1) [Timeout 240] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_ida.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_ida.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_ida.sim & (cd run_ida && ../PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.093152411747724]