Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.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.001824/0.001824, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001464/0.001464, allocations: 216.6 kB / 23.03 MB, free: 4.949 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.766 MB / 206.1 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.08418/0.08418, allocations: 16.97 MB / 330.2 MB, free: 2.438 MB / 254.1 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.SynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF") [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.002096/0.002096, allocations: 67.89 kB / 461.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1326, allocations: 57.74 MB / 0.5068 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF): time 0.3708/0.5034, allocations: 86.69 MB / 0.5915 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.05355/0.557, allocations: 22.08 MB / 0.6131 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01363/0.5706, allocations: 254.1 kB / 0.6133 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01339/0.584, allocations: 3.061 MB / 0.6163 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0352/0.6192, allocations: 9.797 MB / 0.6259 GB, free: 328 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01454/0.6337, allocations: 4.939 MB / 0.6307 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03628/0.67, allocations: 21.5 MB / 0.6517 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/0.681, allocations: 5.097 MB / 0.6567 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/0.6973, allocations: 7.446 MB / 0.6639 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01542/0.7127, allocations: 7.665 MB / 0.6714 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.004513/0.7172, allocations: 1.008 MB / 0.6724 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009289/0.7265, allocations: 2.081 MB / 0.6744 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004557/0.7311, allocations: 2.376 MB / 0.6767 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01422/0.7453, allocations: 5.673 MB / 0.6823 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02951/0.7748, allocations: 16.4 MB / 0.6983 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7748, allocations: 0 / 0.6983 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7748, allocations: 0 / 0.6983 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005693/0.7754, allocations: 0 / 0.6983 GB, free: 5.871 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2013 * Number of variables: 2013 Notification: Performance of Generate backend data structure: time 0.06641/0.8418, allocations: 16.66 MB / 0.7146 GB, free: 5.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.8418, allocations: 8.031 kB / 0.7146 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/0.8624, allocations: 2.87 MB / 0.7174 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01994/0.8824, allocations: 6.975 MB / 0.7242 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007873/0.8832, allocations: 0.6407 MB / 0.7248 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/0.8857, allocations: 0.8556 MB / 0.7257 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5145/1.4, allocations: 11.37 MB / 0.7368 GB, free: 171.4 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002983/1.4, allocations: 54.19 kB / 0.7368 GB, free: 171.4 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/1.402, allocations: 360.3 kB / 0.7372 GB, free: 171.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002465/1.402, allocations: 210.6 kB / 0.7374 GB, free: 171.4 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/1.417, allocations: 7.564 MB / 0.7447 GB, free: 169.8 MB / 0.5607 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.07752/1.495, allocations: 51.69 MB / 0.7952 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/1.506, allocations: 5.967 MB / 0.801 GB, free: 128.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004758/1.511, allocations: 2.385 MB / 0.8034 GB, free: 127.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004068/1.511, allocations: 111.7 kB / 0.8035 GB, free: 127.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/1.511, allocations: 128.8 kB / 0.8036 GB, free: 127.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=708): time 1.18e-05/1.511, allocations: 0 / 0.8036 GB, free: 127.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=708): time 0.03838/1.55, allocations: 12.26 MB / 0.8156 GB, free: 121.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/1.55, allocations: 260.8 kB / 0.8158 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01501/1.565, allocations: 8.242 MB / 0.8239 GB, free: 113.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00191/1.567, allocations: 203 kB / 0.8241 GB, free: 113.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00373/1.57, allocations: 4.567 MB / 0.8285 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003349/1.574, allocations: 2.933 MB / 0.8314 GB, free: 106.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01172/1.585, allocations: 4.134 MB / 0.8354 GB, free: 102.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/1.585, allocations: 301.1 kB / 0.8357 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0118/1.597, allocations: 6.05 MB / 0.8416 GB, free: 96.42 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01565/1.613, allocations: 8.367 MB / 0.8498 GB, free: 87.69 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/1.63, allocations: 11.72 MB / 0.8612 GB, free: 75.57 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.449e-05/1.63, allocations: 8 kB / 0.8613 GB, free: 75.56 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2943) (initialization): time 0.04349/1.674, allocations: 19.98 MB / 0.8808 GB, free: 55.45 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/1.674, allocations: 19.94 kB / 0.8808 GB, free: 55.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.513e-05/1.674, allocations: 28 kB / 0.8808 GB, free: 55.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02648/1.7, allocations: 4.134 MB / 0.8848 GB, free: 51.18 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01945/1.72, allocations: 4.638 MB / 0.8894 GB, free: 46.54 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03995/1.76, allocations: 48.91 MB / 0.9371 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02215/1.782, allocations: 1.495 MB / 0.9386 GB, free: 9.219 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003413/1.785, allocations: 0.715 MB / 0.9393 GB, free: 8.504 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * Number of states: 0 () * Number of discrete variables: 12 (loadPQ3.componentPF.isSlackBus,machine3.componentPF.isSlackBus,bus3.componentPF.isSlackBus,refBus3.componentPF.isSlackBus,bus2.componentPF.isSlackBus,refBus2.componentPF.isSlackBus,LoadPQ2.componentPF.isSlackBus,machine2.componentPF.isSlackBus,bus1.componentPF.isSlackBus,refBus1.componentPF.isSlackBus,LoadPQ1.componentPF.isSlackBus,machine1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2839): * Single equations (assignments): 2807 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 32 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 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%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 18 systems {(6,0), (15,0), (2,0), (2,0), (2,0), (2,0), (6,0), (17,0), (2,0), (2,0), (2,0), (2,0), (21,0), (19,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.007313/1.793, allocations: 1.96 MB / 0.9412 GB, free: 6.547 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003835/1.796, allocations: 0.9938 MB / 0.9422 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02028/1.817, allocations: 7.327 MB / 0.9493 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001525/1.817, allocations: 43.8 kB / 0.9494 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.817, allocations: 4 kB / 0.9494 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008295/1.825, allocations: 1.894 MB / 0.9512 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004929/1.83, allocations: 112 kB / 0.9513 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009909/1.84, allocations: 319.8 kB / 0.9516 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001658/1.842, allocations: 0.5485 MB / 0.9522 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02123/1.863, allocations: 7.538 MB / 0.9595 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3147/2.178, allocations: 8.836 MB / 0.9682 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003927/2.182, allocations: 2.057 MB / 0.9702 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01044/2.192, allocations: 4.914 MB / 0.975 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of Backend: time 5.61e-07/2.192, allocations: 1.094 kB / 0.975 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04006/2.232, allocations: 15.14 MB / 0.9898 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03634/2.268, allocations: 17.52 MB / 1.007 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.2258/2.494, allocations: 163 MB / 1.166 GB, free: 19.94 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 14.020619479008019] Failed to read output from testmodel.py, exit status != 0: 2.5045242240885273 2.517870951 1.74013595 Calling exit ...