Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 221.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 95.67 kB / 269.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0598/0.0598, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 51.92 kB / 393 MB, free: 63.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.08073, allocations: 50.12 MB / 443.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.004448/0.08522, allocations: 5.622 MB / 448.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.08885, allocations: 2.964 MB / 451.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.0893, allocations: 7.938 kB / 451.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006069/0.08995, allocations: 238.9 kB / 452 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.09193, allocations: 1.132 MB / 453.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.09262, allocations: 454.3 kB / 453.5 MB, free: 2.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.09375, allocations: 1.421 MB / 455 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.09392, allocations: 82.02 kB / 455 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.09432, allocations: 426.2 kB / 455.5 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.09472, allocations: 489.9 kB / 455.9 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.09481, allocations: 36 kB / 456 MB, free: 480 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.09535, allocations: 271.8 kB / 456.2 MB, free: 208 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.09544, allocations: 135.3 kB / 456.4 MB, free: 72 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.09587, allocations: 401.9 kB / 456.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.09693, allocations: 1.079 MB / 457.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.09694, allocations: 3.984 kB / 457.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09695, allocations: 4 kB / 457.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.09697, allocations: 4 kB / 457.8 MB, free: 14.58 MB / 314.7 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.003303/0.1003, allocations: 1.329 MB / 459.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1003, allocations: 8.031 kB / 459.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.1007, allocations: 108 kB / 459.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000809/0.1015, allocations: 0.5284 MB / 459.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.1015, allocations: 41.38 kB / 459.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1017, allocations: 72.03 kB / 459.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.1024, allocations: 486 kB / 460.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1024, allocations: 0 / 460.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.1025, allocations: 19.98 kB / 460.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.1025, allocations: 12 kB / 460.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.1033, allocations: 499.6 kB / 460.9 MB, free: 11.41 MB / 314.7 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.004372/0.1077, allocations: 2.868 MB / 463.8 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.109, allocations: 0.7782 MB / 464.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.1093, allocations: 230.5 kB / 464.8 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.1094, allocations: 4.562 kB / 464.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1094, allocations: 43.12 kB / 464.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.864e-06/0.1094, allocations: 0 / 464.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.005088/0.1145, allocations: 2.039 MB / 466.9 MB, free: 5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1146, allocations: 63.91 kB / 466.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.1151, allocations: 0.4948 MB / 467.4 MB, free: 4.418 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.1152, allocations: 45.7 kB / 467.5 MB, free: 4.367 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1154, allocations: 257.2 kB / 467.7 MB, free: 4.109 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.1156, allocations: 228.7 kB / 468 MB, free: 3.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.1158, allocations: 178.5 kB / 468.1 MB, free: 3.703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.116, allocations: 370.8 kB / 468.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/0.1166, allocations: 348.7 kB / 468.8 MB, free: 2.988 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.1172, allocations: 413.4 kB / 469.2 MB, free: 2.574 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.1182, allocations: 0.6669 MB / 469.9 MB, free: 1.895 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1182, allocations: 0 / 469.9 MB, free: 1.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005085/0.1233, allocations: 1.609 MB / 471.5 MB, free: 272 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.1234, allocations: 4 kB / 471.5 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1234, allocations: 4 kB / 471.5 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/0.128, allocations: 0.9093 MB / 472.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009047/0.129, allocations: 195.8 kB / 472.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.1418, allocations: 9.411 MB / 482 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.1425, allocations: 31.97 kB / 482.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.1426, allocations: 32 kB / 482.1 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007491/0.1434, allocations: 473.9 kB / 482.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000616/0.144, allocations: 401.4 kB / 482.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001021/0.145, allocations: 0.6357 MB / 483.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.1451, allocations: 0 / 483.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.003154/0.1482, allocations: 1.275 MB / 484.9 MB, free: 2.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1483, allocations: 4 kB / 484.9 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1483, allocations: 0 / 484.9 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.1508, allocations: 0.6106 MB / 485.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009714/0.1518, allocations: 219.7 kB / 485.7 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1575/0.3093, allocations: 10.6 MB / 496.3 MB, free: 40.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.31, allocations: 34.12 kB / 496.3 MB, free: 40.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.31, allocations: 30.78 kB / 496.4 MB, free: 40.53 MB / 330.7 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 (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,12), (3,7), (3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.3102, allocations: 223.7 kB / 496.6 MB, free: 40.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.3103, allocations: 67.97 kB / 496.6 MB, free: 40.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.3119, allocations: 0.7665 MB / 497.4 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3119, allocations: 7.344 kB / 497.4 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.312, allocations: 2.406 kB / 497.4 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.312, allocations: 8.406 kB / 497.4 MB, free: 40 MB / 330.7 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 postOpt removeSimpleEquations (simulation): time 0.002261/0.3142, allocations: 1.544 MB / 499 MB, free: 39.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3143, allocations: 0 / 499 MB, free: 39.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.3149, allocations: 135.7 kB / 499.1 MB, free: 39.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009074/0.3158, allocations: 247.6 kB / 499.3 MB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.3158, allocations: 12.19 kB / 499.4 MB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.3188, allocations: 2.396 MB / 0.49 GB, free: 37.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3188, allocations: 1.562 kB / 0.49 GB, free: 37.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/0.3319, allocations: 8.1 MB / 0.4979 GB, free: 32.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.3322, allocations: 182.2 kB / 0.4981 GB, free: 32.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.3322, allocations: 10.78 kB / 0.4981 GB, free: 32.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.3326, allocations: 22.31 kB / 0.4981 GB, free: 32.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3328, allocations: 52.2 kB / 0.4982 GB, free: 32.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.3328, allocations: 18.56 kB / 0.4982 GB, free: 32.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003383/0.3332, allocations: 334.8 kB / 0.4985 GB, free: 32.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3332, allocations: 1.062 kB / 0.4985 GB, free: 32.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001849/0.335, allocations: 0.6164 MB / 0.4991 GB, free: 32.04 MB / 330.7 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,12,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002364/0.3353, allocations: 151.5 kB / 0.4992 GB, free: 31.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004638/0.3399, allocations: 3.028 MB / 0.5022 GB, free: 29.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3399, allocations: 0 / 0.5022 GB, free: 29.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.3409, allocations: 0.5167 MB / 0.5027 GB, free: 29.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/0.3417, allocations: 88.58 kB / 0.5028 GB, free: 29.68 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.3451, allocations: 2.314 MB / 0.505 GB, free: 28.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3456, allocations: 0.9341 MB / 0.506 GB, free: 27.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004385/0.346, allocations: 80.34 kB / 0.506 GB, free: 27.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3462, allocations: 41.03 kB / 0.5061 GB, free: 27.42 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3462, allocations: 4 kB / 0.5061 GB, free: 27.41 MB / 330.7 MB Notification: Performance of Templates: time 0.02132/0.3675, allocations: 17.99 MB / 0.5236 GB, free: 11.41 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe 2>&1)