Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2.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.00136/0.00136, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.001617/0.001617, allocations: 219.7 kB / 22.25 MB, free: 3.574 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 1.567/1.567, allocations: 230.6 MB / 256 MB, free: 9.656 MB / 202.7 MB " [Timeout remaining time 178] 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.08735/0.08735, allocations: 17.11 MB / 329.5 MB, free: 1.266 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.SynchronousMachine4WindingsPF2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 71.89 kB / 460.7 MB, free: 27.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1059, allocations: 57.78 MB / 0.5063 GB, free: 1.324 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2): time 0.3178/0.4237, allocations: 57.91 MB / 0.5629 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03413/0.4578, allocations: 18.29 MB / 0.5807 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01199/0.4698, allocations: 209 kB / 0.5809 GB, free: 12.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.48, allocations: 2.535 MB / 0.5834 GB, free: 10.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02663/0.5067, allocations: 8.192 MB / 0.5914 GB, free: 5.316 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01207/0.5187, allocations: 4.062 MB / 0.5954 GB, free: 2.398 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02951/0.5482, allocations: 17.46 MB / 0.6124 GB, free: 6.754 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.5589, allocations: 4.089 MB / 0.6164 GB, free: 2.594 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01517/0.5741, allocations: 6.056 MB / 0.6223 GB, free: 12.52 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01427/0.5884, allocations: 5.658 MB / 0.6279 GB, free: 6.832 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004634/0.593, allocations: 0.7969 MB / 0.6287 GB, free: 6.035 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/0.6033, allocations: 1.707 MB / 0.6303 GB, free: 4.328 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004864/0.6082, allocations: 1.925 MB / 0.6322 GB, free: 2.395 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01768/0.6259, allocations: 4.611 MB / 0.6367 GB, free: 13.76 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03691/0.6628, allocations: 13.19 MB / 0.6496 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.6628, allocations: 4 kB / 0.6496 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6628, allocations: 0 / 0.6496 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005372/0.6633, allocations: 0 / 0.6496 GB, free: 0.5234 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1656 * Number of variables: 1656 Notification: Performance of Generate backend data structure: time 0.06951/0.7329, allocations: 13.95 MB / 0.6632 GB, free: 2.477 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.15e-05/0.7329, allocations: 8.031 kB / 0.6632 GB, free: 2.469 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.7479, allocations: 2.208 MB / 0.6654 GB, free: 260 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/0.767, allocations: 5.729 MB / 0.671 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007866/0.7678, allocations: 0.5208 MB / 0.6715 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/0.77, allocations: 0.711 MB / 0.6722 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02151/0.7915, allocations: 9.367 MB / 0.6813 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003399/0.7918, allocations: 39.62 kB / 0.6813 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/0.7938, allocations: 296 kB / 0.6816 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000251/0.794, allocations: 179.9 kB / 0.6818 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/0.8105, allocations: 6.106 MB / 0.6878 GB, free: 7.82 MB / 0.4948 GB 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.08942/0.8999, allocations: 43.16 MB / 0.7299 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/0.9123, allocations: 4.763 MB / 0.7346 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004335/0.9166, allocations: 1.855 MB / 0.7364 GB, free: 4.547 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/0.917, allocations: 89.58 kB / 0.7365 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.9171, allocations: 112.7 kB / 0.7366 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=559): time 9.188e-06/0.9171, allocations: 0 / 0.7366 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of matching and sorting (n=559): time 0.03186/0.949, allocations: 8.791 MB / 0.7452 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002192/0.9492, allocations: 211.8 kB / 0.7454 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01651/0.9657, allocations: 7.115 MB / 0.7523 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00125/0.967, allocations: 161.7 kB / 0.7525 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005667/0.9726, allocations: 3.911 MB / 0.7563 GB, free: 100 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004004/0.9766, allocations: 2.337 MB / 0.7586 GB, free: 13.74 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01096/0.9876, allocations: 3.44 MB / 0.7619 GB, free: 10.29 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.9878, allocations: 301.1 kB / 0.7622 GB, free: 9.992 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0131/1.001, allocations: 4.911 MB / 0.767 GB, free: 5.078 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2654/1.266, allocations: 6.754 MB / 0.7736 GB, free: 190.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/1.284, allocations: 9.465 MB / 0.7828 GB, free: 188.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001401/1.284, allocations: 5.969 kB / 0.7828 GB, free: 188.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=2454) (initialization): time 0.0381/1.322, allocations: 16.01 MB / 0.7985 GB, free: 182 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/1.322, allocations: 14.41 kB / 0.7985 GB, free: 182 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.401e-05/1.323, allocations: 22.75 kB / 0.7985 GB, free: 182 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/1.34, allocations: 2.681 MB / 0.8011 GB, free: 181.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01696/1.357, allocations: 3.891 MB / 0.8049 GB, free: 181.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0249/1.382, allocations: 33.93 MB / 0.8381 GB, free: 147.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01807/1.4, allocations: 1.219 MB / 0.8393 GB, free: 146.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003485/1.404, allocations: 0.601 MB / 0.8398 GB, free: 146.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 12 (VrefBus1.isSlackBus,slackBus1.isSlackBus,bus1.isSlackBus,LoadPQ1.isSlackBus,loadPQ3.componentPF.isSlackBus,machine3.componentPF.isSlackBus,bus3.componentPF.isSlackBus,refBus3.componentPF.isSlackBus,bus2.componentPF.isSlackBus,refBus2.componentPF.isSlackBus,LoadPQ2.componentPF.isSlackBus,machine2.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2406): * Single equations (assignments): 2382 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (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): 12 systems {(6,0), (10,0), (2,0), (2,0), (2,0), (2,0), (6,0), (10,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.005983/1.41, allocations: 1.615 MB / 0.8414 GB, free: 144.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002739/1.413, allocations: 0.827 MB / 0.8422 GB, free: 144.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009646/1.422, allocations: 5.524 MB / 0.8476 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-05/1.422, allocations: 27.7 kB / 0.8477 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.422, allocations: 4 kB / 0.8477 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008032/1.43, allocations: 1.528 MB / 0.8492 GB, free: 138.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003356/1.434, allocations: 92 kB / 0.8492 GB, free: 138.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00857/1.442, allocations: 248.5 kB / 0.8495 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/1.443, allocations: 413.5 kB / 0.8499 GB, free: 138 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01308/1.456, allocations: 5.696 MB / 0.8554 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0121/1.468, allocations: 7.16 MB / 0.8624 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002574/1.471, allocations: 1.659 MB / 0.864 GB, free: 125.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.008386/1.479, allocations: 4.147 MB / 0.8681 GB, free: 121.6 MB / 0.573 GB Notification: Performance of Backend: time 1.283e-06/1.479, allocations: 0 / 0.8681 GB, free: 121.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03183/1.511, allocations: 11.54 MB / 0.8794 GB, free: 110 MB / 0.573 GB Notification: Performance of SimCode: time 0.03137/1.543, allocations: 13.66 MB / 0.8927 GB, free: 96.32 MB / 0.573 GB Notification: Performance of Templates: time 0.4314/1.974, allocations: 132.7 MB / 1.022 GB, free: 172.6 MB / 0.573 GB " [Timeout remaining time 658] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.389919028995791]