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.0007245/0.0007245, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001858, 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.0007196/0.0007196, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009191/0.001639, 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.9261/0.9261, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09437/1.021, 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.04727/0.04727, allocations: 13.27 MB / 257.2 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007768/0.05504, allocations: 5.049 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.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.563e-06/1.563e-06, allocations: 0 / 263.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.151e-05, allocations: 5.828 kB / 263.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF): time 0.1283/0.1283, allocations: 20.26 MB / 284 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.1384, allocations: 7.132 MB / 291.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.1402, allocations: 69.28 kB / 291.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.1418, allocations: 0.8925 MB / 292.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004994/0.1468, allocations: 3.011 MB / 295.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.1493, allocations: 1.606 MB / 296.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005371/0.1546, allocations: 5.932 MB / 302.7 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.1565, allocations: 1.257 MB / 303.9 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.1601, allocations: 3.438 MB / 307.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.1618, allocations: 1.527 MB / 308.9 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005031/0.1623, allocations: 267.9 kB / 309.1 MB, free: 348 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.1635, allocations: 0.6284 MB / 309.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.1638, allocations: 458.1 kB / 310.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008618/0.1646, allocations: 0.9708 MB / 311.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.1668, allocations: 2.518 MB / 313.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.1669, allocations: 4 kB / 313.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1669, allocations: 0 / 313.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.51e-05/0.1669, allocations: 0 / 313.7 MB, free: 11.76 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: 504 * Number of variables: 504 Notification: Performance of Generate backend data structure: time 0.006135/0.173, allocations: 5.319 MB / 319 MB, free: 6.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1731, allocations: 8.625 kB / 319 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.1745, allocations: 0.754 MB / 319.8 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.176, allocations: 1.25 MB / 321 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.1761, allocations: 228.9 kB / 321.3 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.1763, allocations: 248.4 kB / 321.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.1779, allocations: 2.616 MB / 324.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.1779, allocations: 16.06 kB / 324.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.178, allocations: 104 kB / 324.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.178, allocations: 56 kB / 324.3 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008405/0.1789, allocations: 0.8965 MB / 325.2 MB, free: 15.65 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.007342/0.1862, allocations: 11.63 MB / 336.8 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1873, allocations: 0.8579 MB / 337.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.1876, allocations: 274.6 kB / 338 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/0.1876, allocations: 40.67 kB / 338 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007939/0.1884, allocations: 1.594 MB / 339.6 MB, free: 488 kB / 314.7 MB Notification: Performance of pre-optimization done (n=156): time 3.046e-06/0.1884, allocations: 0 / 339.6 MB, free: 488 kB / 314.7 MB Notification: Performance of matching and sorting (n=156): time 0.003027/0.1914, allocations: 1.828 MB / 341.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.1916, allocations: 0.5667 MB / 342 MB, free: 13.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.1929, allocations: 2.069 MB / 344.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.637e-05/0.193, allocations: 73.7 kB / 344.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/0.1936, allocations: 1.153 MB / 345.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.1939, allocations: 0.6472 MB / 345.9 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008578/0.1948, allocations: 1.085 MB / 347 MB, free: 8.852 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.1948, allocations: 301.1 kB / 347.3 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.196, allocations: 0.9012 MB / 348.2 MB, free: 7.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.1975, allocations: 1.906 MB / 350.1 MB, free: 5.488 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.1995, allocations: 2.226 MB / 352.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.1996, allocations: 0 / 352.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.003983/0.2035, allocations: 3.472 MB / 355.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.2036, allocations: 33.7 kB / 355.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.2036, allocations: 14.88 kB / 355.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005785/0.2094, allocations: 1.556 MB / 357.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.2119, allocations: 1.416 MB / 358.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006129/0.2181, allocations: 13.01 MB / 371.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.2202, allocations: 0.4887 MB / 372.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.2203, allocations: 140.7 kB / 372.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001637/0.222, allocations: 1.075 MB / 373.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001573/0.2236, allocations: 1.898 MB / 375.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002087/0.2256, allocations: 2.213 MB / 377.6 MB, free: 8.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.083e-05/0.2257, allocations: 4 kB / 377.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=749) (initialization_lambda0): time 0.004119/0.2298, allocations: 3.407 MB / 381.1 MB, free: 4.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.2298, allocations: 41.7 kB / 381.1 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2298, allocations: 8 kB / 381.1 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005372/0.2352, allocations: 1.507 MB / 382.6 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.2376, allocations: 1.416 MB / 384 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.2428, allocations: 12.32 MB / 396.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.2446, allocations: 417.3 kB / 396.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.2447, allocations: 144.2 kB / 396.9 MB, free: 4.164 MB / 378.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 (GEN12.isReferenceBus,GEN12.isSlackBus,GEN12.componentPF.isSlackBus,busGen12.componentPF.isSlackBus,bus1.isSlackBus,slackBus1.isSlackBus,loadPQ12.componentPF.isSlackBus,loadPQ11.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (728): * Single equations (assignments): 717 * 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.0005671/0.2453, allocations: 478.7 kB / 397.4 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.2456, allocations: 239.7 kB / 397.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.2469, allocations: 1.11 MB / 398.7 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.2469, allocations: 15.97 kB / 398.7 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2469, allocations: 4 kB / 398.7 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005172/0.2474, allocations: 297.8 kB / 399 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.2475, allocations: 35.98 kB / 399.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.2477, allocations: 36 kB / 399.1 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.2483, allocations: 83.94 kB / 399.2 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.2485, allocations: 136.3 kB / 399.3 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001519/0.25, allocations: 2.01 MB / 401.3 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001322/0.2513, allocations: 2.272 MB / 403.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002985/0.2516, allocations: 363.4 kB / 403.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007225/0.2523, allocations: 0.9774 MB / 404.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of Backend: time 4.21e-07/0.2523, allocations: 4 kB / 404.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007378/0.2597, allocations: 7.472 MB / 412.4 MB, free: 4.215 MB / 394.7 MB Notification: Performance of SimCode: time 0.04608/0.3058, allocations: 5.067 MB / 417.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of Templates: time 0.2073/0.5131, allocations: 85.26 MB / 0.4909 GB, free: 65.3 MB / 410.7 MB " [Timeout remaining time 659] 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 -s=ida > PowerGrids_dev_PowerGrids.Electrical.Test.TestPropControlledSynchronousMachine4WindingsPF.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8733952306210995]