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.001082/0.001082, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.00253, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001149/0.001149, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002588, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.959/0.959, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09194/1.051, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.04786/0.04786, allocations: 13.28 MB / 257.2 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008725/0.05658, allocations: 5.045 MB / 262.3 MB, free: 12.93 MB / 266.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.372e-06/1.372e-06, allocations: 0 / 263.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.978e-05, allocations: 5.828 kB / 263.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF): time 0.128/0.128, allocations: 20.97 MB / 284.7 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.14, allocations: 7.604 MB / 292.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.1432, allocations: 88.53 kB / 292.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.146, allocations: 0.9349 MB / 293.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007264/0.1533, allocations: 3.076 MB / 296.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.1571, allocations: 1.87 MB / 298.3 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007364/0.1644, allocations: 6.364 MB / 304.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.167, allocations: 1.502 MB / 306.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006513/0.1735, allocations: 3.689 MB / 309.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.1763, allocations: 1.636 MB / 311.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000791/0.1771, allocations: 312 kB / 311.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.179, allocations: 0.6674 MB / 312.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.1794, allocations: 0.5135 MB / 313 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.1813, allocations: 1.056 MB / 314 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.1856, allocations: 2.747 MB / 316.8 MB, free: 8.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.1857, allocations: 4 kB / 316.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1857, allocations: 0 / 316.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.666e-05/0.1857, allocations: 0 / 316.8 MB, free: 8.684 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 563 * Number of variables: 563 Notification: Performance of Generate backend data structure: time 0.00807/0.1938, allocations: 5.696 MB / 322.5 MB, free: 2.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1938, allocations: 8.031 kB / 322.5 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.1956, allocations: 0.7969 MB / 323.3 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.1979, allocations: 1.428 MB / 324.7 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.474e-05/0.198, allocations: 184.8 kB / 324.9 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.1983, allocations: 268.4 kB / 325.2 MB, free: 176 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.2004, allocations: 2.891 MB / 328 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.2004, allocations: 20 kB / 328.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.2006, allocations: 100.4 kB / 328.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.2006, allocations: 63.94 kB / 328.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.2019, allocations: 0.9104 MB / 329.1 MB, free: 11.63 MB / 314.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.01066/0.2125, allocations: 12.35 MB / 341.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.2139, allocations: 0.9308 MB / 342.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.2141, allocations: 258.5 kB / 342.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.2142, allocations: 41.02 kB / 342.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.2142, allocations: 67.77 kB / 342.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=166): time 3.998e-06/0.2143, allocations: 0 / 342.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=166): time 0.003724/0.218, allocations: 1.742 MB / 344.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.218, allocations: 127.7 kB / 344.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.2197, allocations: 2.226 MB / 346.9 MB, free: 9.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.2198, allocations: 77.7 kB / 346.9 MB, free: 9.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/0.2205, allocations: 1.248 MB / 348.2 MB, free: 8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/0.2209, allocations: 0.6975 MB / 348.9 MB, free: 7.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009295/0.2218, allocations: 1.105 MB / 350 MB, free: 6.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.2219, allocations: 305.1 kB / 350.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.2233, allocations: 0.8809 MB / 351.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.2248, allocations: 1.857 MB / 353 MB, free: 2.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.2269, allocations: 2.245 MB / 355.3 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.2269, allocations: 4 kB / 355.3 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.004457/0.2314, allocations: 3.421 MB / 358.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.2314, allocations: 8 kB / 358.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.2314, allocations: 8 kB / 358.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005359/0.2368, allocations: 1.499 MB / 360.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/0.2404, allocations: 1.809 MB / 362 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009307/0.2497, allocations: 19.71 MB / 381.7 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/0.2528, allocations: 0.5119 MB / 382.2 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004325/0.2532, allocations: 148 kB / 382.4 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001995/0.2552, allocations: 1.051 MB / 383.4 MB, free: 2.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001633/0.2568, allocations: 1.853 MB / 385.3 MB, free: 0.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002507/0.2593, allocations: 2.221 MB / 387.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.536e-05/0.2594, allocations: 2.266 kB / 387.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=765) (initialization_lambda0): time 0.004528/0.2639, allocations: 3.421 MB / 390.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2639, allocations: 8 kB / 390.9 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.2639, allocations: 12 kB / 390.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005477/0.2694, allocations: 1.495 MB / 392.4 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003682/0.2731, allocations: 1.503 MB / 393.9 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006109/0.2792, allocations: 12.31 MB / 406.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.2823, allocations: 425.1 kB / 406.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004941/0.2828, allocations: 148 kB / 406.8 MB, free: 10.18 MB / 394.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 (751): * Single equations (assignments): 735 * 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.0007329/0.2835, allocations: 423.6 kB / 407.2 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008741/0.2844, allocations: 243.7 kB / 407.5 MB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.286, allocations: 1.068 MB / 408.5 MB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.2861, allocations: 11.97 kB / 408.5 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2861, allocations: 0 / 408.5 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.2872, allocations: 313.6 kB / 408.9 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.2872, allocations: 40.17 kB / 408.9 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/0.2876, allocations: 32 kB / 408.9 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.2886, allocations: 91.94 kB / 409 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.2888, allocations: 140.7 kB / 409.2 MB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001584/0.2904, allocations: 1.105 MB / 410.3 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001457/0.2919, allocations: 1.357 MB / 411.6 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003071/0.2922, allocations: 301 kB / 411.9 MB, free: 5.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.2932, allocations: 1.059 MB / 413 MB, free: 3.953 MB / 394.7 MB Notification: Performance of Backend: time 3.91e-07/0.2932, allocations: 4 kB / 413 MB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009806/0.303, allocations: 7.623 MB / 420.6 MB, free: 12.04 MB / 410.7 MB Notification: Performance of SimCode: time 0.04762/0.3507, allocations: 5.524 MB / 426.1 MB, free: 6.484 MB / 410.7 MB Notification: Performance of Templates: time 0.1898/0.5405, allocations: 79.37 MB / 0.4936 GB, free: 60.79 MB / 410.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 & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > PowerGrids_dev_PowerGrids.Electrical.Test.TestControlledSynchronousMachine4WindingsPF.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.115547952242196]