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.0086/0.0086, allocations: 99.44 kB / 15.73 MB, free: 6.008 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.002082/0.002082, allocations: 192.8 kB / 16.68 MB, free: 5.934 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07915/0.07915, allocations: 16.69 MB / 307.2 MB, free: 14.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.88 kB / 426.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1152, allocations: 53.54 MB / 480.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF): time 0.3699/0.4851, allocations: 101.4 MB / 0.5679 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05645/0.5416, allocations: 23.35 MB / 0.5907 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01521/0.5569, allocations: 199 kB / 0.5909 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01313/0.5701, allocations: 3.182 MB / 0.594 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03393/0.6041, allocations: 9.191 MB / 0.603 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01535/0.6194, allocations: 4.962 MB / 0.6078 GB, free: 1.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03895/0.6584, allocations: 21.49 MB / 0.6288 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008946/0.6674, allocations: 3.73 MB / 0.6324 GB, free: 8.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01506/0.6825, allocations: 7.176 MB / 0.6394 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01585/0.6984, allocations: 7.657 MB / 0.6469 GB, free: 9.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004829/0.7032, allocations: 1.008 MB / 0.6479 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.7144, allocations: 2.062 MB / 0.6499 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005835/0.7203, allocations: 2.38 MB / 0.6522 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0163/0.7366, allocations: 6.873 MB / 0.6589 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03182/0.7684, allocations: 16.26 MB / 0.6748 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.7685, allocations: 0 / 0.6748 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7685, allocations: 0 / 0.6748 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0006875/0.7692, allocations: 3.938 kB / 0.6748 GB, free: 12.69 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.06791/0.8371, allocations: 16.7 MB / 0.6911 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.186e-05/0.8372, allocations: 8.031 kB / 0.6911 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01965/0.8569, allocations: 2.753 MB / 0.6938 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02434/0.8813, allocations: 7.14 MB / 0.7008 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/0.8824, allocations: 0.6407 MB / 0.7014 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00373/0.8861, allocations: 0.8555 MB / 0.7023 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02705/0.9132, allocations: 9.39 MB / 0.7114 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004213/0.9137, allocations: 51.5 kB / 0.7115 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002356/0.916, allocations: 363.9 kB / 0.7118 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002727/0.9163, allocations: 212 kB / 0.712 GB, free: 5.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4605/1.377, allocations: 7.531 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.08516/1.462, allocations: 62.88 MB / 0.7808 GB, free: 126.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/1.473, allocations: 8.515 MB / 0.7891 GB, free: 120.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004266/1.478, allocations: 2.701 MB / 0.7918 GB, free: 119.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/1.478, allocations: 100.7 kB / 0.7918 GB, free: 119.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/1.478, allocations: 133.2 kB / 0.792 GB, free: 119.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=708): time 9.879e-06/1.478, allocations: 0 / 0.792 GB, free: 119.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=708): time 0.04163/1.52, allocations: 12.89 MB / 0.8046 GB, free: 112.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/1.52, allocations: 261 kB / 0.8048 GB, free: 112.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0161/1.536, allocations: 8.731 MB / 0.8133 GB, free: 104.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001481/1.538, allocations: 201.7 kB / 0.8135 GB, free: 104.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003977/1.542, allocations: 4.52 MB / 0.8179 GB, free: 100.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003559/1.545, allocations: 2.949 MB / 0.8208 GB, free: 97.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009185/1.554, allocations: 4.303 MB / 0.825 GB, free: 93.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.942e-05/1.554, allocations: 309.1 kB / 0.8253 GB, free: 93.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/1.565, allocations: 6.196 MB / 0.8314 GB, free: 87.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01347/1.578, allocations: 8.414 MB / 0.8396 GB, free: 78.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02178/1.6, allocations: 11.93 MB / 0.8512 GB, free: 66.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/1.6, allocations: 8 kB / 0.8512 GB, free: 66.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=3041) (initialization): time 0.0492/1.649, allocations: 20.5 MB / 0.8713 GB, free: 45.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/1.65, allocations: 16 kB / 0.8713 GB, free: 45.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.939e-05/1.65, allocations: 24 kB / 0.8713 GB, free: 45.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02512/1.675, allocations: 4.136 MB / 0.8753 GB, free: 41.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01913/1.694, allocations: 4.779 MB / 0.88 GB, free: 36.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.302/1.996, allocations: 53.22 MB / 0.932 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01943/2.015, allocations: 1.601 MB / 0.9335 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00312/2.019, allocations: 0.7336 MB / 0.9343 GB, free: 162.3 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.006827/2.025, allocations: 1.979 MB / 0.9362 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003604/2.029, allocations: 1.026 MB / 0.9372 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/2.045, allocations: 7.43 MB / 0.9445 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001414/2.045, allocations: 39.02 kB / 0.9445 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/2.045, allocations: 4.094 kB / 0.9445 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006907/2.052, allocations: 2.022 MB / 0.9465 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00345/2.055, allocations: 114.5 kB / 0.9466 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009533/2.065, allocations: 316.8 kB / 0.9469 GB, free: 161.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/2.066, allocations: 0.5125 MB / 0.9474 GB, free: 161.5 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01899/2.085, allocations: 7.609 MB / 0.9548 GB, free: 158.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01587/2.101, allocations: 8.848 MB / 0.9635 GB, free: 154.9 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003544/2.105, allocations: 2.207 MB / 0.9656 GB, free: 154 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01071/2.116, allocations: 5.198 MB / 0.9707 GB, free: 152.1 MB / 0.5607 GB Notification: Performance of Backend: time 1.032e-06/2.116, allocations: 0 / 0.9707 GB, free: 152.1 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.04295/2.159, allocations: 17.15 MB / 0.9874 GB, free: 143.7 MB / 0.5607 GB Notification: Performance of SimCode: time 0.04547/2.204, allocations: 17.58 MB / 1.005 GB, free: 130.3 MB / 0.5607 GB Notification: Performance of Templates: time 0.4702/2.674, allocations: 144.5 MB / 1.146 GB, free: 187.3 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)