Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3.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.001437/0.001437, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001532/0.001532, allocations: 222.4 kB / 22.25 MB, free: 3.57 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.61/1.61, allocations: 230.6 MB / 256 MB, free: 9.594 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.08885/0.08885, allocations: 17.12 MB / 329.5 MB, free: 1.211 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.SynchronousMachine4WindingsPF3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3") [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.002264/0.002264, allocations: 63.89 kB / 460.7 MB, free: 27.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1158, allocations: 57.78 MB / 0.5063 GB, free: 1.266 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3): time 0.3294/0.4452, allocations: 55.61 MB / 0.5606 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03133/0.4765, allocations: 17.98 MB / 0.5782 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01038/0.4869, allocations: 201.6 kB / 0.5784 GB, free: 9.961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009395/0.4963, allocations: 2.514 MB / 0.5809 GB, free: 8.824 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02401/0.5203, allocations: 8.099 MB / 0.5888 GB, free: 4.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009727/0.5301, allocations: 3.744 MB / 0.5924 GB, free: 2.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0265/0.5566, allocations: 17.13 MB / 0.6091 GB, free: 7.883 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009528/0.5661, allocations: 3.98 MB / 0.613 GB, free: 4.414 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01522/0.5813, allocations: 5.929 MB / 0.6188 GB, free: 14.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01387/0.5952, allocations: 5.623 MB / 0.6243 GB, free: 9.121 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003658/0.5988, allocations: 0.7695 MB / 0.6251 GB, free: 8.352 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008496/0.6073, allocations: 1.683 MB / 0.6267 GB, free: 6.672 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003677/0.611, allocations: 1.871 MB / 0.6285 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01204/0.6231, allocations: 4.559 MB / 0.633 GB, free: 324 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.026/0.6491, allocations: 12.88 MB / 0.6456 GB, free: 3.391 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6491, allocations: 4 kB / 0.6456 GB, free: 3.387 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6491, allocations: 0 / 0.6456 GB, free: 3.387 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005562/0.6496, allocations: 0 / 0.6456 GB, free: 3.387 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.05752/0.7071, allocations: 14.05 MB / 0.6593 GB, free: 5.234 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.7072, allocations: 8.031 kB / 0.6593 GB, free: 5.227 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.7218, allocations: 2.072 MB / 0.6613 GB, free: 3.148 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01769/0.7395, allocations: 5.594 MB / 0.6668 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000739/0.7402, allocations: 0.5237 MB / 0.6673 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/0.7424, allocations: 0.6835 MB / 0.668 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02061/0.763, allocations: 9.181 MB / 0.6769 GB, free: 1.781 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/0.7632, allocations: 43.56 kB / 0.677 GB, free: 1.738 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009743/0.7642, allocations: 292 kB / 0.6772 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.7643, allocations: 176 kB / 0.6774 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.7783, allocations: 6.175 MB / 0.6834 GB, free: 11.09 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.08166/0.86, allocations: 42.5 MB / 0.7249 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.8715, allocations: 4.922 MB / 0.7298 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004499/0.876, allocations: 1.923 MB / 0.7316 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.8764, allocations: 93.95 kB / 0.7317 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.8765, allocations: 112.6 kB / 0.7318 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=576): time 9.458e-06/0.8765, allocations: 0 / 0.7318 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of matching and sorting (n=576): time 0.03736/0.9139, allocations: 10.08 MB / 0.7417 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.914, allocations: 164.8 kB / 0.7418 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01831/0.9323, allocations: 6.943 MB / 0.7486 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001319/0.9337, allocations: 161.7 kB / 0.7488 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005794/0.9395, allocations: 3.82 MB / 0.7525 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004443/0.9439, allocations: 2.388 MB / 0.7548 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01247/0.9564, allocations: 3.436 MB / 0.7582 GB, free: 13.08 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.9566, allocations: 313 kB / 0.7585 GB, free: 12.77 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01361/0.9702, allocations: 4.934 MB / 0.7633 GB, free: 7.836 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01562/0.9858, allocations: 6.752 MB / 0.7699 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2945/1.28, allocations: 9.594 MB / 0.7793 GB, free: 189.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-05/1.28, allocations: 6.594 kB / 0.7793 GB, free: 189.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=2463) (initialization): time 0.03991/1.32, allocations: 16.28 MB / 0.7952 GB, free: 182.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/1.32, allocations: 15.75 kB / 0.7952 GB, free: 182.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.082e-05/1.32, allocations: 23.5 kB / 0.7952 GB, free: 182.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.019/1.339, allocations: 3.004 MB / 0.7981 GB, free: 182.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/1.355, allocations: 3.825 MB / 0.8019 GB, free: 180.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02753/1.383, allocations: 35.44 MB / 0.8365 GB, free: 145.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01658/1.399, allocations: 1.216 MB / 0.8377 GB, free: 144.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00305/1.402, allocations: 0.5971 MB / 0.8383 GB, free: 144 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 12 (busGen22.componentPF.isSlackBus,GEN22.componentPF.isSlackBus,busGen21.isSlackBus,GEN21.isSlackBus,VrefBus1.isSlackBus,slackBus1.isSlackBus,bus1.isSlackBus,LoadPQ1.isSlackBus,busGen12.componentPF.isSlackBus,refBus2.componentPF.isSlackBus,LoadPQ2.componentPF.isSlackBus,GEN12.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2381): * Single equations (assignments): 2358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 14 systems {(17,0), (6,0), (10,0), (6,0), (14,0), (18,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.005283/1.407, allocations: 1.585 MB / 0.8398 GB, free: 142.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00304/1.411, allocations: 0.8149 MB / 0.8406 GB, free: 142 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.421, allocations: 5.765 MB / 0.8462 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.964e-05/1.421, allocations: 33.56 kB / 0.8463 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.421, allocations: 4 kB / 0.8463 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005911/1.427, allocations: 1.518 MB / 0.8478 GB, free: 136.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00334/1.431, allocations: 101.1 kB / 0.8478 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008006/1.439, allocations: 240.1 kB / 0.8481 GB, free: 135.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/1.44, allocations: 426.1 kB / 0.8485 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01308/1.453, allocations: 5.805 MB / 0.8542 GB, free: 130.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01116/1.464, allocations: 7.2 MB / 0.8612 GB, free: 124 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002834/1.467, allocations: 1.716 MB / 0.8629 GB, free: 122.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007581/1.474, allocations: 4.037 MB / 0.8668 GB, free: 118.3 MB / 0.573 GB Notification: Performance of Backend: time 7.81e-07/1.474, allocations: 0 / 0.8668 GB, free: 118.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03053/1.505, allocations: 12.02 MB / 0.8785 GB, free: 106.1 MB / 0.573 GB Notification: Performance of SimCode: time 0.02555/1.53, allocations: 13.81 MB / 0.892 GB, free: 92.35 MB / 0.573 GB Notification: Performance of Templates: time 0.432/1.962, allocations: 133.9 MB / 1.023 GB, free: 190.4 MB / 0.5886 GB " [Timeout remaining time 658] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.282757614011643]