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.001761/0.001762, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001979/0.001979, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07525/0.07525, allocations: 16.73 MB / 307.9 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 62.17 kB / 373.1 MB, free: 48.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1201, allocations: 53.58 MB / 426.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF): time 0.3348/0.455, allocations: 100.7 MB / 0.5151 GB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03489/0.4899, allocations: 23.15 MB / 0.5377 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01288/0.5029, allocations: 193.4 kB / 0.5378 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01377/0.5167, allocations: 3.162 MB / 0.5409 GB, free: 16.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03066/0.5474, allocations: 9.12 MB / 0.5498 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01248/0.5599, allocations: 4.63 MB / 0.5544 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03079/0.5907, allocations: 21.12 MB / 0.575 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008758/0.5995, allocations: 3.638 MB / 0.5785 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01461/0.6141, allocations: 7.006 MB / 0.5854 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01538/0.6295, allocations: 7.426 MB / 0.5926 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004763/0.6343, allocations: 0.9609 MB / 0.5936 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.645, allocations: 2.024 MB / 0.5956 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003972/0.649, allocations: 2.271 MB / 0.5978 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01577/0.6648, allocations: 6.719 MB / 0.6043 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02299/0.6878, allocations: 15.71 MB / 0.6197 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6879, allocations: 0 / 0.6197 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6879, allocations: 0 / 0.6197 GB, free: 12.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005019/0.6884, allocations: 0 / 0.6197 GB, free: 12.39 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.05421/0.7426, allocations: 14.87 MB / 0.6342 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.7427, allocations: 8.031 kB / 0.6342 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/0.7599, allocations: 2.666 MB / 0.6368 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/0.7775, allocations: 6.959 MB / 0.6436 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006066/0.7782, allocations: 0.6246 MB / 0.6442 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002039/0.7802, allocations: 0.8282 MB / 0.645 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.7975, allocations: 9.033 MB / 0.6538 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001718/0.7977, allocations: 51.5 kB / 0.6539 GB, free: 8.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009188/0.7986, allocations: 355.9 kB / 0.6542 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.7988, allocations: 204 kB / 0.6544 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.8114, allocations: 7.111 MB / 0.6614 GB, free: 0.6836 MB / 478.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.4793/1.291, allocations: 62.55 MB / 0.7225 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/1.302, allocations: 8.535 MB / 0.7308 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003588/1.306, allocations: 2.466 MB / 0.7332 GB, free: 133.5 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/1.306, allocations: 91.31 kB / 0.7333 GB, free: 133.5 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/1.306, allocations: 128.9 kB / 0.7334 GB, free: 133.4 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=662): time 8.286e-06/1.306, allocations: 0 / 0.7334 GB, free: 133.4 MB / 0.4982 GB Notification: Performance of matching and sorting (n=662): time 0.03082/1.337, allocations: 11.68 MB / 0.7448 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/1.337, allocations: 254 kB / 0.7451 GB, free: 129.3 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/1.349, allocations: 8.438 MB / 0.7533 GB, free: 125.1 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001203/1.35, allocations: 192.2 kB / 0.7535 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003454/1.353, allocations: 4.409 MB / 0.7578 GB, free: 121.8 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002998/1.356, allocations: 2.654 MB / 0.7604 GB, free: 119.5 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007873/1.364, allocations: 4.092 MB / 0.7644 GB, free: 117.1 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/1.364, allocations: 307.9 kB / 0.7647 GB, free: 116.8 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009791/1.374, allocations: 5.81 MB / 0.7703 GB, free: 112.7 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01337/1.388, allocations: 7.952 MB / 0.7781 GB, free: 104.5 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/1.404, allocations: 11.19 MB / 0.789 GB, free: 92.88 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.194e-05/1.404, allocations: 12 kB / 0.789 GB, free: 92.87 MB / 0.4982 GB Notification: Performance of matching and sorting (n=2902) (initialization): time 0.0379/1.442, allocations: 19.3 MB / 0.8079 GB, free: 73.42 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/1.442, allocations: 16 kB / 0.8079 GB, free: 73.41 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.835e-05/1.443, allocations: 31.94 kB / 0.8079 GB, free: 73.38 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02298/1.466, allocations: 4.059 MB / 0.8119 GB, free: 69.23 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01722/1.483, allocations: 4.591 MB / 0.8164 GB, free: 64.63 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03645/1.519, allocations: 51.92 MB / 0.8671 GB, free: 8.25 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02625/1.546, allocations: 1.491 MB / 0.8685 GB, free: 6.746 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004117/1.55, allocations: 0.6991 MB / 0.8692 GB, free: 6.047 MB / 0.4982 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 (2809): * Single equations (assignments): 2777 * 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), (10,0), (2,0), (2,0), (2,0), (2,0), (6,0), (14,0), (2,0), (2,0), (2,0), (2,0), (21,0), (16,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.008996/1.559, allocations: 1.92 MB / 0.8711 GB, free: 4.117 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004477/1.563, allocations: 0.9495 MB / 0.872 GB, free: 3.156 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3086/1.872, allocations: 6.811 MB / 0.8787 GB, free: 159.4 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000188/1.872, allocations: 36.11 kB / 0.8787 GB, free: 159.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/1.872, allocations: 2.156 kB / 0.8787 GB, free: 159.4 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009392/1.882, allocations: 1.848 MB / 0.8805 GB, free: 159.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004242/1.886, allocations: 118.5 kB / 0.8806 GB, free: 159.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01444/1.9, allocations: 310.1 kB / 0.8809 GB, free: 159.3 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002003/1.902, allocations: 492 kB / 0.8814 GB, free: 159.3 MB / 0.4982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01625/1.919, allocations: 6.955 MB / 0.8882 GB, free: 158.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01329/1.932, allocations: 7.989 MB / 0.896 GB, free: 155.9 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002685/1.935, allocations: 1.974 MB / 0.8979 GB, free: 155.1 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007904/1.943, allocations: 5.039 MB / 0.9028 GB, free: 153.2 MB / 0.4982 GB Notification: Performance of Backend: time 9.92e-07/1.943, allocations: 0 / 0.9028 GB, free: 153.2 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02917/1.972, allocations: 16.24 MB / 0.9187 GB, free: 145.3 MB / 0.4982 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.0304/2.002, allocations: 16.72 MB / 0.935 GB, free: 133.8 MB / 0.4982 GB Notification: Performance of Templates: time 0.4391/2.441, allocations: 134.5 MB / 1.066 GB, free: 158.6 MB / 0.4982 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 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe 2>&1)