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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006312/0.006312, allocations: 101.1 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 197.1 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08353/0.08353, allocations: 16.69 MB / 307.2 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.89 kB / 426.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1042, allocations: 53.55 MB / 480.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF): time 0.322/0.4263, allocations: 101.4 MB / 0.5679 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04828/0.4746, allocations: 23.35 MB / 0.5907 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01256/0.4872, allocations: 199 kB / 0.5909 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01319/0.5004, allocations: 3.186 MB / 0.594 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03534/0.5358, allocations: 9.188 MB / 0.6029 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01559/0.5514, allocations: 4.958 MB / 0.6078 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03637/0.5878, allocations: 21.5 MB / 0.6288 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.5983, allocations: 3.734 MB / 0.6324 GB, free: 8.262 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01597/0.6143, allocations: 7.164 MB / 0.6394 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0159/0.6302, allocations: 7.663 MB / 0.6469 GB, free: 9.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005298/0.6356, allocations: 1.008 MB / 0.6479 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/0.6466, allocations: 2.06 MB / 0.6499 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004818/0.6514, allocations: 2.38 MB / 0.6522 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01521/0.6667, allocations: 6.869 MB / 0.6589 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03065/0.6973, allocations: 16.27 MB / 0.6748 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6974, allocations: 0 / 0.6748 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6974, allocations: 0 / 0.6748 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004641/0.6979, allocations: 0 / 0.6748 GB, free: 12.68 MB / 0.5137 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.06602/0.7639, allocations: 16.7 MB / 0.6911 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.764, allocations: 8.031 kB / 0.6911 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01802/0.782, allocations: 2.761 MB / 0.6938 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02315/0.8052, allocations: 7.132 MB / 0.7008 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009412/0.8062, allocations: 0.6407 MB / 0.7014 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00333/0.8095, allocations: 0.8595 MB / 0.7023 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.8347, allocations: 9.382 MB / 0.7114 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003024/0.835, allocations: 51.5 kB / 0.7115 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002047/0.8371, allocations: 360 kB / 0.7118 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/0.8373, allocations: 212 kB / 0.712 GB, free: 5.305 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5229/1.36, allocations: 7.534 MB / 0.7194 GB, free: 175.4 MB / 0.545 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.08096/1.441, allocations: 62.88 MB / 0.7808 GB, free: 126.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/1.452, allocations: 8.523 MB / 0.7891 GB, free: 120.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004076/1.456, allocations: 2.695 MB / 0.7918 GB, free: 119.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/1.457, allocations: 104.5 kB / 0.7919 GB, free: 119.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/1.457, allocations: 134 kB / 0.792 GB, free: 119.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=708): time 9.287e-06/1.457, allocations: 0 / 0.792 GB, free: 119.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=708): time 0.03636/1.493, allocations: 12.89 MB / 0.8046 GB, free: 112.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/1.494, allocations: 260.8 kB / 0.8048 GB, free: 112.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/1.507, allocations: 8.734 MB / 0.8133 GB, free: 104.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001671/1.508, allocations: 195.1 kB / 0.8135 GB, free: 104.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003804/1.512, allocations: 4.522 MB / 0.8179 GB, free: 100.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003564/1.516, allocations: 2.952 MB / 0.8208 GB, free: 97.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01017/1.526, allocations: 4.303 MB / 0.825 GB, free: 93.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/1.526, allocations: 317.1 kB / 0.8253 GB, free: 93.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01131/1.537, allocations: 6.196 MB / 0.8314 GB, free: 87.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01419/1.551, allocations: 8.406 MB / 0.8396 GB, free: 78.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/1.569, allocations: 11.93 MB / 0.8512 GB, free: 66.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.569, allocations: 8 kB / 0.8513 GB, free: 66.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=3041) (initialization): time 0.0457/1.615, allocations: 20.49 MB / 0.8713 GB, free: 45.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/1.615, allocations: 23.94 kB / 0.8713 GB, free: 45.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.192e-05/1.615, allocations: 24.66 kB / 0.8713 GB, free: 45.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02417/1.639, allocations: 4.124 MB / 0.8753 GB, free: 41.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01774/1.657, allocations: 4.783 MB / 0.88 GB, free: 36.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2599/1.917, allocations: 53.22 MB / 0.932 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01911/1.936, allocations: 1.605 MB / 0.9335 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003444/1.939, allocations: 0.7338 MB / 0.9343 GB, free: 162.2 MB / 0.5607 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 (2937): * Single equations (assignments): 2905 * 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.006766/1.946, allocations: 1.982 MB / 0.9362 GB, free: 162 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004708/1.951, allocations: 1.025 MB / 0.9372 GB, free: 162 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01955/1.97, allocations: 7.428 MB / 0.9445 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001281/1.971, allocations: 35.52 kB / 0.9445 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.971, allocations: 2.781 kB / 0.9445 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006301/1.977, allocations: 2.017 MB / 0.9465 GB, free: 161.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003422/1.98, allocations: 118.2 kB / 0.9466 GB, free: 161.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01033/1.991, allocations: 316.5 kB / 0.9469 GB, free: 161.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001958/1.993, allocations: 0.5151 MB / 0.9474 GB, free: 161.4 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01853/2.011, allocations: 7.617 MB / 0.9548 GB, free: 158.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01482/2.026, allocations: 8.842 MB / 0.9635 GB, free: 154.9 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003688/2.03, allocations: 2.215 MB / 0.9656 GB, free: 153.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0102/2.04, allocations: 5.197 MB / 0.9707 GB, free: 152 MB / 0.5607 GB Notification: Performance of Backend: time 1.032e-06/2.04, allocations: 0 / 0.9707 GB, free: 152 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.03818/2.078, allocations: 17.15 MB / 0.9874 GB, free: 143.6 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03435/2.113, allocations: 17.57 MB / 1.005 GB, free: 130.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.4502/2.563, allocations: 144.5 MB / 1.146 GB, free: 188.8 MB / 0.5763 GB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.makefile (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)