Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.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.SynchronousMachine4WindingsExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 182.9 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.495/1.495, allocations: 205.1 MB / 221.8 MB, free: 8.48 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.0009924/0.0009924, allocations: 95.67 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05918/0.05918, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 47.92 kB / 393 MB, free: 63.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0722/0.07323, allocations: 50.14 MB / 443.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.004519/0.07777, allocations: 5.622 MB / 448.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.08095, allocations: 2.964 MB / 451.7 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.0812, allocations: 8 kB / 451.7 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.08173, allocations: 234.9 kB / 452 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.08352, allocations: 1.143 MB / 453.1 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.08419, allocations: 447 kB / 453.5 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.08535, allocations: 1.425 MB / 455 MB, free: 1.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.08552, allocations: 78.03 kB / 455 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.08588, allocations: 430.1 kB / 455.5 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004212/0.08631, allocations: 490 kB / 455.9 MB, free: 496 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.08639, allocations: 40 kB / 456 MB, free: 456 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.08683, allocations: 287.7 kB / 456.3 MB, free: 168 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.08692, allocations: 139.3 kB / 456.4 MB, free: 28 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.08728, allocations: 405.8 kB / 456.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.08829, allocations: 1.102 MB / 457.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.08831, allocations: 0 / 457.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.08832, allocations: 4 kB / 457.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.08833, allocations: 0 / 457.9 MB, free: 14.52 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.003282/0.09162, allocations: 1.337 MB / 459.2 MB, free: 13.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.09166, allocations: 12.03 kB / 459.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009322/0.0926, allocations: 151.9 kB / 459.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.09342, allocations: 0.5362 MB / 459.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.09347, allocations: 49.38 kB / 460 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.09358, allocations: 68.03 kB / 460 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007921/0.09438, allocations: 478.1 kB / 460.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.09441, allocations: 3.938 kB / 460.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.09445, allocations: 19.98 kB / 460.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.09447, allocations: 15.98 kB / 460.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/0.09535, allocations: 491.7 kB / 461 MB, free: 11.29 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.00495/0.1003, allocations: 2.891 MB / 463.9 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.1016, allocations: 0.7777 MB / 464.7 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.102, allocations: 234.5 kB / 464.9 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.102, allocations: 4.562 kB / 464.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1021, allocations: 39.12 kB / 465 MB, free: 6.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 2.394e-06/0.1021, allocations: 4 kB / 465 MB, free: 6.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.005318/0.1074, allocations: 2.039 MB / 467 MB, free: 4.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1074, allocations: 63.97 kB / 467.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.108, allocations: 0.4948 MB / 467.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.108, allocations: 49.64 kB / 467.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.1082, allocations: 257.2 kB / 467.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.1084, allocations: 224.7 kB / 468.1 MB, free: 3.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.1087, allocations: 186.5 kB / 468.3 MB, free: 3.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1088, allocations: 374.8 kB / 468.6 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/0.1094, allocations: 368.7 kB / 469 MB, free: 2.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/0.1101, allocations: 429.4 kB / 469.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.1112, allocations: 0.6787 MB / 470.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1113, allocations: 4 kB / 470.1 MB, free: 1.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01215/0.1234, allocations: 1.905 MB / 472 MB, free: 15.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1235, allocations: 4 kB / 472 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1235, allocations: 0 / 472 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008212/0.1317, allocations: 1.065 MB / 473.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/0.1325, allocations: 203.7 kB / 473.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.1496, allocations: 10.12 MB / 483.4 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.1503, allocations: 28.08 kB / 483.4 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.1504, allocations: 35.98 kB / 483.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007431/0.1511, allocations: 466 kB / 483.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005981/0.1518, allocations: 401.3 kB / 484.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009895/0.1527, allocations: 0.6319 MB / 484.9 MB, free: 2.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.1528, allocations: 0 / 484.9 MB, free: 2.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.002979/0.1557, allocations: 1.279 MB / 486.2 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1558, allocations: 4 kB / 486.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1558, allocations: 4.062 kB / 486.2 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/0.1582, allocations: 0.6105 MB / 486.8 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1466/0.3048, allocations: 217.4 kB / 487.1 MB, free: 49.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008168/0.313, allocations: 10.6 MB / 497.7 MB, free: 40.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.3137, allocations: 31.09 kB / 497.7 MB, free: 40.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.3137, allocations: 31.03 kB / 497.7 MB, free: 40.01 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), (4,6), (4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.3139, allocations: 227 kB / 497.9 MB, free: 39.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.314, allocations: 64.5 kB / 498 MB, free: 39.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.3157, allocations: 0.7768 MB / 498.8 MB, free: 39.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3157, allocations: 5.719 kB / 498.8 MB, free: 39.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3157, allocations: 4.812 kB / 498.8 MB, free: 39.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3157, allocations: 4.406 kB / 498.8 MB, free: 39.45 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.002276/0.318, allocations: 1.546 MB / 0.4886 GB, free: 38.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.318, allocations: 0.7031 kB / 0.4886 GB, free: 38.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/0.3187, allocations: 134.6 kB / 0.4887 GB, free: 38.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008868/0.3196, allocations: 252.4 kB / 0.489 GB, free: 38.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.3196, allocations: 11.94 kB / 0.489 GB, free: 38.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/0.3225, allocations: 2.39 MB / 0.4913 GB, free: 36.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3226, allocations: 1 kB / 0.4913 GB, free: 36.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.3358, allocations: 8.104 MB / 0.4992 GB, free: 31.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.3361, allocations: 178.3 kB / 0.4994 GB, free: 31.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/0.3362, allocations: 10.38 kB / 0.4994 GB, free: 31.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.3366, allocations: 27.05 kB / 0.4994 GB, free: 31.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.3367, allocations: 47.84 kB / 0.4995 GB, free: 31.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.3368, allocations: 19.38 kB / 0.4995 GB, free: 31.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003589/0.3371, allocations: 335 kB / 0.4998 GB, free: 31.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3371, allocations: 0 / 0.4998 GB, free: 31.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00197/0.3391, allocations: 0.6331 MB / 0.5004 GB, free: 31.48 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.000221/0.3393, allocations: 152.9 kB / 0.5006 GB, free: 31.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004849/0.3442, allocations: 3.02 MB / 0.5035 GB, free: 29.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3442, allocations: 0 / 0.5035 GB, free: 29.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009914/0.3452, allocations: 0.515 MB / 0.504 GB, free: 29.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.3458, allocations: 96.5 kB / 0.5041 GB, free: 29.1 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.00365/0.3495, allocations: 2.313 MB / 0.5064 GB, free: 27.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.3499, allocations: 0.9352 MB / 0.5073 GB, free: 26.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004829/0.3504, allocations: 96.19 kB / 0.5074 GB, free: 26.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3506, allocations: 39.88 kB / 0.5074 GB, free: 26.8 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3506, allocations: 3.875 kB / 0.5074 GB, free: 26.8 MB / 330.7 MB Notification: Performance of Templates: time 0.02409/0.3747, allocations: 20.08 MB / 0.5271 GB, free: 8.582 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe 2>&1)