Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001408/0.001408, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05945/0.05945, allocations: 14.17 MB / 284.5 MB, free: 7.145 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005248/0.0005248, allocations: 12 kB / 346.1 MB, free: 19.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08533, allocations: 51.12 MB / 397.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.004827/0.0902, allocations: 4.588 MB / 401.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004546/0.0948, allocations: 2.709 MB / 404.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.09523, allocations: 11.94 kB / 404.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.09578, allocations: 206.9 kB / 404.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.09818, allocations: 1.038 MB / 405.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.09902, allocations: 375.1 kB / 406.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.1006, allocations: 0.9364 MB / 407.1 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.1008, allocations: 77.69 kB / 407.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.1013, allocations: 414.6 kB / 407.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.1018, allocations: 450.3 kB / 408 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.931e-05/0.1019, allocations: 36 kB / 408.1 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.1025, allocations: 235.8 kB / 408.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1026, allocations: 123.5 kB / 408.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1028, allocations: 169.3 kB / 408.6 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008276/0.1036, allocations: 0.795 MB / 409.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1036, allocations: 0 / 409.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1037, allocations: 4 kB / 409.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1037, allocations: 0 / 409.4 MB, free: 4.578 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003294/0.107, allocations: 1.224 MB / 410.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.107, allocations: 8.031 kB / 410.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.1074, allocations: 107 kB / 410.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/0.1083, allocations: 0.5078 MB / 411.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.1084, allocations: 45 kB / 411.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.1085, allocations: 63.91 kB / 411.3 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/0.1093, allocations: 482.1 kB / 411.8 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1093, allocations: 3.938 kB / 411.8 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.1094, allocations: 16 kB / 411.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.1094, allocations: 12 kB / 411.8 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008616/0.1103, allocations: 499.7 kB / 412.3 MB, free: 1.531 MB / 302.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.004438/0.1147, allocations: 2.868 MB / 415.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.116, allocations: 0.7728 MB / 416 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.1161, allocations: 12.59 kB / 416 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1161, allocations: 43.11 kB / 416 MB, free: 13.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.204e-06/0.1161, allocations: 4 kB / 416 MB, free: 13.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.0052/0.1213, allocations: 2.039 MB / 418.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.1214, allocations: 59.97 kB / 418.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.122, allocations: 0.4948 MB / 418.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.122, allocations: 41.7 kB / 418.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1222, allocations: 261.2 kB / 418.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.1224, allocations: 228.7 kB / 419.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.1225, allocations: 20 kB / 419.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1226, allocations: 378.8 kB / 419.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.1232, allocations: 317.9 kB / 419.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.1238, allocations: 393.4 kB / 420.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/0.1244, allocations: 375 kB / 420.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1244, allocations: 0 / 420.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003093/0.1275, allocations: 1.271 MB / 421.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1276, allocations: 4 kB / 421.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1276, allocations: 4 kB / 421.9 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/0.1301, allocations: 0.6028 MB / 422.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009618/0.1311, allocations: 227.7 kB / 422.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1583/0.2895, allocations: 10.67 MB / 433.3 MB, free: 25.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/0.2902, allocations: 32.72 kB / 433.4 MB, free: 25.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.2903, allocations: 29.45 kB / 433.4 MB, free: 25.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {3 12,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/0.2906, allocations: 207.9 kB / 433.6 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2907, allocations: 61.44 kB / 433.7 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.2924, allocations: 0.7843 MB / 434.5 MB, free: 24.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.2924, allocations: 6.281 kB / 434.5 MB, free: 24.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2924, allocations: 10.8 kB / 434.5 MB, free: 24.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.2924, allocations: 10.88 kB / 434.5 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.2949, allocations: 1.557 MB / 436 MB, free: 24.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2949, allocations: 0 / 436 MB, free: 24.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/0.2956, allocations: 141.5 kB / 436.2 MB, free: 24.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009052/0.2965, allocations: 273 kB / 436.4 MB, free: 24.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.2966, allocations: 16.88 kB / 436.5 MB, free: 24.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003187/0.2998, allocations: 2.442 MB / 438.9 MB, free: 23.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2998, allocations: 3.219 kB / 438.9 MB, free: 23.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.3017, allocations: 1.122 MB / 440 MB, free: 22.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.3019, allocations: 182.8 kB / 440.2 MB, free: 22.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.302, allocations: 13.95 kB / 440.2 MB, free: 22.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.3024, allocations: 26.36 kB / 440.2 MB, free: 22.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3025, allocations: 49.81 kB / 440.3 MB, free: 22.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.3026, allocations: 15.47 kB / 440.3 MB, free: 22.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003754/0.3029, allocations: 332.2 kB / 440.6 MB, free: 22.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3029, allocations: 3.828 kB / 440.6 MB, free: 22.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008382/0.3038, allocations: 256.3 kB / 440.9 MB, free: 22.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002281/0.304, allocations: 158.2 kB / 441 MB, free: 22.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.3064, allocations: 1.673 MB / 442.7 MB, free: 21.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3064, allocations: 0 / 442.7 MB, free: 21.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009421/0.3074, allocations: 0.5289 MB / 443.2 MB, free: 21.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.3079, allocations: 77.77 kB / 443.3 MB, free: 21.65 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.31, allocations: 1.594 MB / 444.9 MB, free: 20.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.3105, allocations: 0.9132 MB / 445.8 MB, free: 20.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003096/0.3108, allocations: 67.45 kB / 445.9 MB, free: 20.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.3109, allocations: 43.03 kB / 445.9 MB, free: 20.01 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.311, allocations: 0 / 445.9 MB, free: 20.01 MB / 318.1 MB Notification: Performance of Templates: time 0.0153/0.3263, allocations: 9.397 MB / 455.3 MB, free: 16.87 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe 2>&1) Environment - environmentSimulation: