Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridDifferentGeneratorParam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridDifferentGeneratorParam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009497, allocations: 99.08 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.0009829/0.000983, allocations: 177.3 kB / 15.94 MB, free: 228 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.54/1.54, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.059/0.059, allocations: 14.16 MB / 284.5 MB, free: 7.031 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.0005017/0.0005018, allocations: 14.81 kB / 348.9 MB, free: 17.13 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 51.11 MB / 400 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam): time 0.02362/0.1262, allocations: 26.96 MB / 427 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2191/0.3454, allocations: 11.82 MB / 438.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006047/0.3515, allocations: 84.69 kB / 438.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005013/0.3565, allocations: 1.189 MB / 440.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01842/0.375, allocations: 4.572 MB / 444.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.3789, allocations: 1.272 MB / 445.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01744/0.3964, allocations: 7.651 MB / 453.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.398, allocations: 0.6076 MB / 454.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008136/0.4062, allocations: 2.867 MB / 457 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007004/0.4132, allocations: 2.986 MB / 460 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.4143, allocations: 186.4 kB / 460.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/0.4193, allocations: 0.7436 MB / 461 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005978/0.4199, allocations: 0.7136 MB / 461.7 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.4228, allocations: 1.024 MB / 462.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006642/0.4295, allocations: 5.147 MB / 467.8 MB, free: 5.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.4295, allocations: 0 / 467.8 MB, free: 5.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4295, allocations: 0 / 467.8 MB, free: 5.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001712/0.4297, allocations: 0 / 467.8 MB, free: 5.77 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 971 * Number of variables: 971 Notification: Performance of Generate backend data structure: time 0.0243/0.454, allocations: 7.056 MB / 474.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.4541, allocations: 12.03 kB / 474.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001642/0.4557, allocations: 0.495 MB / 475.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/0.4604, allocations: 0.8094 MB / 476.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007867/0.4683, allocations: 2.851 MB / 479.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.4685, allocations: 307.6 kB / 479.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007175/0.4693, allocations: 412 kB / 479.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006794/0.4761, allocations: 3.713 MB / 483.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.4761, allocations: 5.031 kB / 483.5 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.4764, allocations: 160 kB / 483.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.4765, allocations: 92 kB / 483.7 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006598/0.4831, allocations: 3.87 MB / 487.6 MB, free: 2.828 MB / 334.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.04187/0.525, allocations: 24.87 MB / 0.5005 GB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009818/0.5349, allocations: 6.519 MB / 0.5068 GB, free: 176 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/0.5354, allocations: 57.73 kB / 0.5069 GB, free: 120 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.966e-05/0.5355, allocations: 77.83 kB / 0.507 GB, free: 32 kB / 366.1 MB Notification: Performance of pre-optimization done (n=420): time 9.148e-06/0.5355, allocations: 4 kB / 0.507 GB, free: 28 kB / 366.1 MB Notification: Performance of matching and sorting (n=423): time 0.03913/0.5746, allocations: 11.86 MB / 0.5185 GB, free: 4.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.5748, allocations: 102.6 kB / 0.5186 GB, free: 3.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005689/0.5805, allocations: 2.959 MB / 0.5215 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006834/0.5812, allocations: 109.7 kB / 0.5216 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001953/0.5831, allocations: 1.899 MB / 0.5235 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002372/0.5855, allocations: 1.486 MB / 0.5249 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006657/0.5862, allocations: 124 kB / 0.5251 GB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0005005/0.5867, allocations: 0.5187 MB / 0.5256 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003807/0.5905, allocations: 1.55 MB / 0.5271 GB, free: 11.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00474/0.5953, allocations: 2.871 MB / 0.5299 GB, free: 7.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00469/0.6, allocations: 2.036 MB / 0.5319 GB, free: 5.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-05/0.6001, allocations: 12 kB / 0.5319 GB, free: 5.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01651/0.6166, allocations: 6.519 MB / 0.5382 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.6169, allocations: 28.2 kB / 0.5383 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/0.617, allocations: 40 kB / 0.5383 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007453/0.6245, allocations: 1.928 MB / 0.5402 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006344/0.6308, allocations: 1.407 MB / 0.5416 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03491/0.6658, allocations: 32.97 MB / 0.5738 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006938/0.6728, allocations: 338.2 kB / 0.5741 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/0.6739, allocations: 236 kB / 0.5743 GB, free: 7.449 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (677): * Single equations (assignments): 657 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {2,2,2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 7 {3 20,1 1,1 1,3 20,1 1,1 1,3 20} Notification: Performance of prepare postOptimizeDAE: time 0.003233/0.6772, allocations: 0.8252 MB / 0.5751 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/0.6788, allocations: 466.4 kB / 0.5756 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.6894, allocations: 4.481 MB / 0.5799 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-05/0.6895, allocations: 48 kB / 0.58 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.485e-05/0.6896, allocations: 16 kB / 0.58 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/0.6896, allocations: 23.86 kB / 0.58 GB, free: 1.543 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.2542/0.9438, allocations: 9.095 MB / 0.5889 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.9439, allocations: 0 / 0.5889 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004193/0.9481, allocations: 0.8151 MB / 0.5897 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003887/0.952, allocations: 1.346 MB / 0.591 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004741/0.9525, allocations: 81.98 kB / 0.5911 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/0.9698, allocations: 11.14 MB / 0.602 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9699, allocations: 5.156 kB / 0.602 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.9813, allocations: 6.138 MB / 0.608 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002575/0.9839, allocations: 0.7768 MB / 0.6087 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007634/0.9847, allocations: 72.56 kB / 0.6088 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/0.9871, allocations: 141.3 kB / 0.6089 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007873/0.9879, allocations: 272.7 kB / 0.6092 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.988, allocations: 99.03 kB / 0.6093 GB, free: 126.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003573/0.9916, allocations: 1.828 MB / 0.6111 GB, free: 125.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9916, allocations: 0 / 0.6111 GB, free: 125.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005671/0.9973, allocations: 1.567 MB / 0.6126 GB, free: 125.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (GEN_1.theta,GEN_1.omegaPu,GEN_1.lambdaDPu,GEN_1.lambdafPu,GEN_1.lambdaQ1Pu,GEN_1.lambdaQ2Pu,GEN_2.theta,GEN_2.omegaPu,GEN_2.lambdaDPu,GEN_2.lambdafPu,GEN_2.lambdaQ1Pu,GEN_2.lambdaQ2Pu,GEN_3.theta,GEN_3.omegaPu,GEN_3.lambdaDPu,GEN_3.lambdafPu,GEN_3.lambdaQ1Pu,GEN_3.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 (324): * Single equations (assignments): 321 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(9,48.1%) 27,(9,48.1%) 27,(9,48.1%) 27} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009446/1.007, allocations: 7.038 MB / 0.6195 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009597/1.016, allocations: 6.935 MB / 0.6263 GB, free: 117.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.016, allocations: 0 / 0.6263 GB, free: 117.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005411/1.022, allocations: 2.776 MB / 0.629 GB, free: 114.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/1.026, allocations: 432.7 kB / 0.6294 GB, free: 114.4 MB / 446.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.02831/1.054, allocations: 37.75 MB / 0.6662 GB, free: 76.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/1.056, allocations: 2.385 MB / 0.6686 GB, free: 74.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002926/1.059, allocations: 0.5531 MB / 0.6691 GB, free: 74.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/1.061, allocations: 1.772 MB / 0.6708 GB, free: 72.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.126e-06/1.061, allocations: 0 / 0.6708 GB, free: 72.26 MB / 446.1 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, 0.0, 0.0).