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.001597/0.001597, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001593/0.001593, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.459/1.459, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08208/0.08208, allocations: 16.69 MB / 307.7 MB, free: 14.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001898, allocations: 62.83 kB / 372.3 MB, free: 48.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1075, allocations: 53.57 MB / 425.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF): time 0.3433/0.4509, allocations: 101.4 MB / 0.515 GB, free: 19.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03789/0.4888, allocations: 23.37 MB / 0.5378 GB, free: 17.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01787/0.5067, allocations: 199.6 kB / 0.538 GB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01347/0.5203, allocations: 3.179 MB / 0.5411 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03223/0.5526, allocations: 9.174 MB / 0.55 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01348/0.5661, allocations: 4.968 MB / 0.5549 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03406/0.6001, allocations: 21.39 MB / 0.5758 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.6106, allocations: 3.746 MB / 0.5794 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0178/0.6284, allocations: 7.135 MB / 0.5864 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01737/0.6459, allocations: 7.667 MB / 0.5939 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005623/0.6515, allocations: 1.008 MB / 0.5949 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/0.6634, allocations: 2.063 MB / 0.5969 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005519/0.669, allocations: 2.387 MB / 0.5992 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02061/0.6896, allocations: 6.868 MB / 0.6059 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03266/0.7223, allocations: 15.96 MB / 0.6215 GB, free: 10.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7223, allocations: 0 / 0.6215 GB, free: 10.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.7224, allocations: 0 / 0.6215 GB, free: 10.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006934/0.7231, allocations: 0 / 0.6215 GB, free: 10.55 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.07093/0.794, allocations: 16.42 MB / 0.6375 GB, free: 10.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.7941, allocations: 8.031 kB / 0.6375 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01861/0.8127, allocations: 2.695 MB / 0.6402 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/0.835, allocations: 6.891 MB / 0.6469 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009972/0.836, allocations: 0.6407 MB / 0.6475 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003423/0.8395, allocations: 0.8595 MB / 0.6484 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02648/0.866, allocations: 9.386 MB / 0.6575 GB, free: 4.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004469/0.8664, allocations: 51.5 kB / 0.6576 GB, free: 4.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002271/0.8687, allocations: 364 kB / 0.6579 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/0.869, allocations: 212 kB / 0.6581 GB, free: 4.137 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.8864, allocations: 7.536 MB / 0.6655 GB, free: 12.55 MB / 494.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.4909/1.377, allocations: 63.03 MB / 0.727 GB, free: 137.8 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/1.389, allocations: 8.536 MB / 0.7354 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004199/1.393, allocations: 2.687 MB / 0.738 GB, free: 131.9 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/1.394, allocations: 100.9 kB / 0.7381 GB, free: 131.9 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/1.394, allocations: 131.2 kB / 0.7382 GB, free: 131.8 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=708): time 9.097e-06/1.394, allocations: 2 kB / 0.7382 GB, free: 131.8 MB / 0.4982 GB Notification: Performance of matching and sorting (n=708): time 0.04845/1.442, allocations: 12.84 MB / 0.7508 GB, free: 127.1 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.442, allocations: 256.8 kB / 0.751 GB, free: 126.8 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02099/1.463, allocations: 8.714 MB / 0.7595 GB, free: 122.5 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.00171/1.465, allocations: 199.8 kB / 0.7597 GB, free: 122.3 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004648/1.47, allocations: 4.386 MB / 0.764 GB, free: 119 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00398/1.474, allocations: 2.832 MB / 0.7668 GB, free: 116.6 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01296/1.487, allocations: 4.295 MB / 0.771 GB, free: 114 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/1.487, allocations: 305.1 kB / 0.7712 GB, free: 113.7 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01154/1.498, allocations: 6.196 MB / 0.7773 GB, free: 107.5 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01502/1.513, allocations: 8.41 MB / 0.7855 GB, free: 98.78 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/1.53, allocations: 11.94 MB / 0.7972 GB, free: 86.46 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/1.53, allocations: 12 kB / 0.7972 GB, free: 86.45 MB / 0.4982 GB Notification: Performance of matching and sorting (n=3041) (initialization): time 0.05787/1.588, allocations: 20.43 MB / 0.8171 GB, free: 65.91 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-05/1.588, allocations: 22.66 kB / 0.8172 GB, free: 65.89 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/1.588, allocations: 28 kB / 0.8172 GB, free: 65.86 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03656/1.625, allocations: 4.097 MB / 0.8212 GB, free: 61.67 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02912/1.654, allocations: 4.771 MB / 0.8258 GB, free: 56.89 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3117/1.966, allocations: 53.25 MB / 0.8778 GB, free: 149 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01945/1.985, allocations: 1.558 MB / 0.8794 GB, free: 149 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003526/1.989, allocations: 0.7285 MB / 0.8801 GB, free: 149 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 (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.008832/1.998, allocations: 1.979 MB / 0.882 GB, free: 148.8 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004205/2.002, allocations: 0.9859 MB / 0.883 GB, free: 148.8 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01734/2.019, allocations: 7.421 MB / 0.8902 GB, free: 148.4 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001762/2.02, allocations: 36.66 kB / 0.8902 GB, free: 148.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/2.02, allocations: 1.844 kB / 0.8903 GB, free: 148.4 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0087/2.028, allocations: 1.969 MB / 0.8922 GB, free: 148.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004052/2.032, allocations: 118.2 kB / 0.8923 GB, free: 148.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01081/2.043, allocations: 319.5 kB / 0.8926 GB, free: 148.3 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00175/2.045, allocations: 0.525 MB / 0.8931 GB, free: 148.3 MB / 0.4982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01926/2.064, allocations: 7.628 MB / 0.9006 GB, free: 146.2 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01675/2.081, allocations: 8.796 MB / 0.9091 GB, free: 142.4 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003489/2.085, allocations: 2.207 MB / 0.9113 GB, free: 141.5 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01067/2.095, allocations: 5.199 MB / 0.9164 GB, free: 139.6 MB / 0.4982 GB Notification: Performance of Backend: time 8.21e-07/2.095, allocations: 0 / 0.9164 GB, free: 139.6 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.03883/2.134, allocations: 17.12 MB / 0.9331 GB, free: 131.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.03826/2.172, allocations: 20.18 MB / 0.9528 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of Templates: time 1.687/3.859, allocations: 0.7917 GB / 1.744 GB, free: 90.71 MB / 0.5294 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)