Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.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.SynchronousMachine4WindingsNoLoadExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 182.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.404/1.404, allocations: 205.1 MB / 221.8 MB, free: 8.465 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.001034/0.001034, allocations: 114 kB / 269.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06447/0.06447, allocations: 14.17 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009917/0.0009922, allocations: 51.92 kB / 393 MB, free: 63.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.08623, allocations: 50.13 MB / 443.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact): time 0.004675/0.09096, allocations: 5.63 MB / 448.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003805/0.09484, allocations: 2.956 MB / 451.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004274/0.0953, allocations: 11.94 kB / 451.7 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.09595, allocations: 230.9 kB / 452 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.09803, allocations: 1.139 MB / 453.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.09878, allocations: 446.6 kB / 453.5 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.0999, allocations: 1.437 MB / 455 MB, free: 1.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1001, allocations: 74.03 kB / 455 MB, free: 1.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.1005, allocations: 430.2 kB / 455.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.1009, allocations: 0.4901 MB / 456 MB, free: 488 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/0.101, allocations: 40 kB / 456 MB, free: 448 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005469/0.1015, allocations: 283.7 kB / 456.3 MB, free: 164 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.1016, allocations: 139.3 kB / 456.4 MB, free: 24 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.102, allocations: 397.9 kB / 456.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.1032, allocations: 1.118 MB / 457.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1032, allocations: 0 / 457.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1032, allocations: 4 kB / 457.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1032, allocations: 0 / 457.9 MB, free: 14.51 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.00343/0.1066, allocations: 1.329 MB / 459.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1067, allocations: 12.03 kB / 459.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/0.1077, allocations: 155.9 kB / 459.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008537/0.1086, allocations: 0.5401 MB / 459.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.1086, allocations: 41.38 kB / 460 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1087, allocations: 68.03 kB / 460.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.1095, allocations: 482.1 kB / 460.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1095, allocations: 7.938 kB / 460.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.1096, allocations: 27.92 kB / 460.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.1096, allocations: 8 kB / 460.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.1104, allocations: 491.7 kB / 461 MB, free: 11.27 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.004869/0.1153, allocations: 2.887 MB / 463.9 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.1167, allocations: 0.782 MB / 464.7 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.1171, allocations: 238.5 kB / 464.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.1171, allocations: 8.562 kB / 465 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1172, allocations: 39.12 kB / 465 MB, free: 6.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 4.809e-06/0.1172, allocations: 4 kB / 465 MB, free: 6.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.005449/0.1226, allocations: 2.035 MB / 467 MB, free: 4.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1227, allocations: 55.97 kB / 467.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.1234, allocations: 0.5026 MB / 467.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.1234, allocations: 49.58 kB / 467.6 MB, free: 4.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1237, allocations: 261.2 kB / 467.9 MB, free: 3.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.1239, allocations: 224.7 kB / 468.1 MB, free: 3.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.1242, allocations: 186.5 kB / 468.3 MB, free: 3.527 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1243, allocations: 370.8 kB / 468.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.1249, allocations: 368.7 kB / 469 MB, free: 2.793 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.1255, allocations: 437.4 kB / 469.4 MB, free: 2.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.1266, allocations: 0.6748 MB / 470.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1266, allocations: 0 / 470.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.012/0.1386, allocations: 1.913 MB / 472 MB, free: 15.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.1387, allocations: 4 kB / 472 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1387, allocations: 0 / 472 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008061/0.1467, allocations: 1.054 MB / 473.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/0.1477, allocations: 195.7 kB / 473.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.1646, allocations: 10.12 MB / 483.4 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.1656, allocations: 32.08 kB / 483.4 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.1657, allocations: 27.98 kB / 483.5 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008804/0.1666, allocations: 474 kB / 483.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006998/0.1673, allocations: 393.4 kB / 484.3 MB, free: 2.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009851/0.1683, allocations: 0.6396 MB / 485 MB, free: 2.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.1683, allocations: 0 / 485 MB, free: 2.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.003058/0.1714, allocations: 1.279 MB / 486.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1715, allocations: 4 kB / 486.2 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1715, allocations: 8.062 kB / 486.2 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.1739, allocations: 0.5988 MB / 486.8 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2003/0.3742, allocations: 209.1 kB / 487 MB, free: 49.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009185/0.3834, allocations: 10.6 MB / 497.6 MB, free: 40.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008142/0.3843, allocations: 35.05 kB / 497.7 MB, free: 40.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.3844, allocations: 31.66 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.0002396/0.3846, allocations: 228.7 kB / 497.9 MB, free: 39.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3848, allocations: 63.09 kB / 498 MB, free: 39.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.3867, allocations: 0.7739 MB / 498.8 MB, free: 39.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.3867, allocations: 7.391 kB / 498.8 MB, free: 39.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3867, allocations: 3.281 kB / 498.8 MB, free: 39.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3867, allocations: 5.531 kB / 498.8 MB, free: 39.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.3895, allocations: 1.554 MB / 0.4886 GB, free: 38.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3895, allocations: 0 / 0.4886 GB, free: 38.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/0.3902, allocations: 135.5 kB / 0.4887 GB, free: 38.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.3912, allocations: 247.2 kB / 0.489 GB, free: 38.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.3913, allocations: 12.44 kB / 0.489 GB, free: 38.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.3945, allocations: 2.394 MB / 0.4913 GB, free: 36.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3945, allocations: 0 / 0.4913 GB, free: 36.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/0.4092, allocations: 8.104 MB / 0.4992 GB, free: 31.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.4094, allocations: 177.7 kB / 0.4994 GB, free: 31.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.4095, allocations: 14.38 kB / 0.4994 GB, free: 31.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.4099, allocations: 25.48 kB / 0.4994 GB, free: 31.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.4101, allocations: 47.3 kB / 0.4995 GB, free: 31.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.4102, allocations: 19.81 kB / 0.4995 GB, free: 31.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004003/0.4106, allocations: 333.2 kB / 0.4998 GB, free: 31.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4106, allocations: 5.812 kB / 0.4998 GB, free: 31.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002226/0.4128, allocations: 0.6331 MB / 0.5005 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.0002584/0.4131, allocations: 157.9 kB / 0.5006 GB, free: 31.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005382/0.4185, allocations: 3.013 MB / 0.5035 GB, free: 29.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4185, allocations: 0 / 0.5035 GB, free: 29.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.4196, allocations: 0.5243 MB / 0.5041 GB, free: 29.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008162/0.4204, allocations: 94.62 kB / 0.5041 GB, free: 29.09 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.004076/0.4245, allocations: 2.319 MB / 0.5064 GB, free: 27.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.425, allocations: 0.9337 MB / 0.5073 GB, free: 26.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004663/0.4255, allocations: 89.89 kB / 0.5074 GB, free: 26.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.4257, allocations: 42.12 kB / 0.5074 GB, free: 26.8 MB / 330.7 MB Notification: Performance of SimCode: time 9.11e-07/0.4257, allocations: 0 / 0.5074 GB, free: 26.8 MB / 330.7 MB Notification: Performance of Templates: time 0.02594/0.4516, allocations: 20.14 MB / 0.5271 GB, free: 8.508 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe 2>&1)