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.001301/0.001301, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002173/0.002174, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.216/0.216, allocations: 16.79 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 371.8 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3036, allocations: 53.54 MB / 425.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF): time 0.07394/0.3776, allocations: 101.4 MB / 0.5144 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04525/0.4229, allocations: 23.37 MB / 0.5372 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01662/0.4396, allocations: 199 kB / 0.5374 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.4514, allocations: 3.182 MB / 0.5405 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03876/0.4902, allocations: 9.186 MB / 0.5495 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.5043, allocations: 4.96 MB / 0.5543 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02944/0.5338, allocations: 21.39 MB / 0.5752 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2298/0.7636, allocations: 3.725 MB / 0.5789 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01353/0.7772, allocations: 7.14 MB / 0.5859 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0134/0.7906, allocations: 7.652 MB / 0.5933 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004607/0.7953, allocations: 1.011 MB / 0.5943 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009019/0.8043, allocations: 2.066 MB / 0.5963 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003633/0.808, allocations: 2.384 MB / 0.5987 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01396/0.8219, allocations: 6.873 MB / 0.6054 GB, free: 21.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02665/0.8486, allocations: 15.96 MB / 0.621 GB, free: 19.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.8487, allocations: 3.938 kB / 0.621 GB, free: 19.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.8487, allocations: 2.594 kB / 0.621 GB, free: 19.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007563/0.8494, allocations: 1.688 kB / 0.621 GB, free: 19.33 MB / 446.1 MB 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.06867/0.9181, allocations: 16.48 MB / 0.6371 GB, free: 14.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.9182, allocations: 8.031 kB / 0.6371 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/0.9375, allocations: 2.702 MB / 0.6397 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/0.96, allocations: 6.875 MB / 0.6464 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008242/0.9609, allocations: 0.6436 MB / 0.647 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00366/0.9646, allocations: 0.854 MB / 0.6479 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02385/0.9885, allocations: 9.39 MB / 0.6571 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005506/0.9891, allocations: 56.25 kB / 0.6571 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003008/0.9921, allocations: 360 kB / 0.6574 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.9923, allocations: 208 kB / 0.6576 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/1.011, allocations: 7.545 MB / 0.665 GB, free: 8.73 MB / 462.1 MB 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.09659/1.108, allocations: 63.06 MB / 0.7266 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/1.121, allocations: 8.523 MB / 0.7349 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004771/1.126, allocations: 2.68 MB / 0.7375 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004822/1.126, allocations: 110.9 kB / 0.7376 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/1.126, allocations: 131.5 kB / 0.7378 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=708): time 1.138e-05/1.126, allocations: 0 / 0.7378 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=708): time 0.04385/1.17, allocations: 12.85 MB / 0.7503 GB, free: 14.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.17, allocations: 254.9 kB / 0.7506 GB, free: 14.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0183/1.189, allocations: 8.72 MB / 0.7591 GB, free: 5.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001881/1.191, allocations: 205.7 kB / 0.7593 GB, free: 5.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005296/1.196, allocations: 4.386 MB / 0.7636 GB, free: 1.105 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.2294/1.425, allocations: 2.825 MB / 0.7663 GB, free: 208.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01352/1.439, allocations: 4.282 MB / 0.7705 GB, free: 208.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/1.439, allocations: 307.8 kB / 0.7708 GB, free: 207.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01229/1.451, allocations: 6.198 MB / 0.7768 GB, free: 207.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01626/1.468, allocations: 8.409 MB / 0.7851 GB, free: 206.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02006/1.488, allocations: 11.94 MB / 0.7967 GB, free: 199.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001816/1.488, allocations: 8.219 kB / 0.7967 GB, free: 199.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=3041) (initialization): time 0.05155/1.54, allocations: 20.44 MB / 0.8167 GB, free: 191.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/1.54, allocations: 22.05 kB / 0.8167 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.279e-05/1.54, allocations: 25.94 kB / 0.8167 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02536/1.565, allocations: 4.156 MB / 0.8208 GB, free: 191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02249/1.588, allocations: 4.776 MB / 0.8255 GB, free: 186.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03852/1.626, allocations: 53.26 MB / 0.8775 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02515/1.651, allocations: 1.562 MB / 0.879 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005055/1.656, allocations: 0.7373 MB / 0.8797 GB, free: 130.2 MB / 0.545 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.008624/1.665, allocations: 1.987 MB / 0.8816 GB, free: 128.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003821/1.669, allocations: 0.9727 MB / 0.8826 GB, free: 127.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/1.682, allocations: 7.427 MB / 0.8899 GB, free: 120.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.351e-05/1.683, allocations: 35.55 kB / 0.8899 GB, free: 120.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.683, allocations: 0 / 0.8899 GB, free: 120.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007401/1.69, allocations: 1.968 MB / 0.8918 GB, free: 119.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003752/1.694, allocations: 124 kB / 0.8919 GB, free: 119 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01025/1.704, allocations: 313.6 kB / 0.8922 GB, free: 118.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002033/1.706, allocations: 0.5206 MB / 0.8927 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01981/1.726, allocations: 7.627 MB / 0.9002 GB, free: 111.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01685/1.743, allocations: 8.794 MB / 0.9088 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003754/1.747, allocations: 2.208 MB / 0.9109 GB, free: 101.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01106/1.758, allocations: 5.199 MB / 0.916 GB, free: 97.24 MB / 0.545 GB Notification: Performance of Backend: time 1.212e-06/1.758, allocations: 0 / 0.916 GB, free: 97.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.04805/1.806, allocations: 17.12 MB / 0.9327 GB, free: 80.19 MB / 0.545 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.04194/1.848, allocations: 17.47 MB / 0.9498 GB, free: 62.83 MB / 0.545 GB Notification: Performance of Templates: time 0.4331/2.281, allocations: 141.1 MB / 1.088 GB, free: 158.4 MB / 0.545 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe 2>&1)