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.00094/0.0009399, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.000894/0.0008941, allocations: 168.7 kB / 15.95 MB, free: 204 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.499/1.499, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06093/0.06093, allocations: 14.17 MB / 284.6 MB, free: 7.121 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.0005667/0.0005667, allocations: 15.98 kB / 349 MB, free: 17.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.0976, allocations: 51.12 MB / 400.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam): time 0.2146/0.3122, allocations: 29.89 MB / 430 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.3299, allocations: 11.82 MB / 441.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005702/0.3356, allocations: 92.16 kB / 441.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004752/0.3404, allocations: 1.187 MB / 443.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.3551, allocations: 4.151 MB / 447.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.3593, allocations: 1.254 MB / 448.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01545/0.3747, allocations: 10.39 MB / 458.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.377, allocations: 0.6124 MB / 459.5 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006054/0.3831, allocations: 2.732 MB / 462.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005444/0.3886, allocations: 3.051 MB / 465.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.3901, allocations: 187.7 kB / 465.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/0.3955, allocations: 0.724 MB / 466.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.3969, allocations: 0.7221 MB / 466.9 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.4001, allocations: 1.022 MB / 467.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00785/0.4079, allocations: 5.205 MB / 473.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.408, allocations: 0 / 473.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.408, allocations: 0 / 473.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002776/0.4083, allocations: 0 / 473.1 MB, free: 15.77 MB / 334.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.02434/0.4326, allocations: 7.055 MB / 480.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.4327, allocations: 8.031 kB / 480.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001887/0.4346, allocations: 0.495 MB / 480.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004236/0.4388, allocations: 0.8181 MB / 481.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007089/0.4459, allocations: 2.854 MB / 484.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.4463, allocations: 307.6 kB / 484.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.4473, allocations: 412 kB / 485.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008436/0.4557, allocations: 3.737 MB / 488.8 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.995e-05/0.4558, allocations: 0 / 488.8 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004905/0.4563, allocations: 162.6 kB / 489 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.26e-05/0.4564, allocations: 92 kB / 489.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007577/0.464, allocations: 3.882 MB / 492.9 MB, free: 11.91 MB / 350.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.0325/0.4965, allocations: 24.57 MB / 0.5054 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007606/0.5042, allocations: 6.348 MB / 0.5116 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.5068, allocations: 1.501 MB / 0.513 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.5071, allocations: 65.31 kB / 0.5131 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.5071, allocations: 73.81 kB / 0.5132 GB, free: 8.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=420): time 6.051e-06/0.5071, allocations: 0 / 0.5132 GB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=423): time 0.03321/0.5404, allocations: 11.96 MB / 0.5249 GB, free: 12.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.5405, allocations: 94.73 kB / 0.5249 GB, free: 12.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004991/0.5455, allocations: 2.967 MB / 0.5278 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006406/0.5461, allocations: 109.7 kB / 0.5279 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002023/0.5482, allocations: 1.903 MB / 0.5298 GB, free: 7.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002859/0.5511, allocations: 1.481 MB / 0.5313 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.5523, allocations: 120 kB / 0.5314 GB, free: 5.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0007948/0.5531, allocations: 0.5187 MB / 0.5319 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004512/0.5576, allocations: 1.554 MB / 0.5334 GB, free: 3.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004805/0.5625, allocations: 2.892 MB / 0.5362 GB, free: 36 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/0.5667, allocations: 2.035 MB / 0.5382 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.179e-05/0.5667, allocations: 16 kB / 0.5382 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01521/0.5819, allocations: 6.521 MB / 0.5446 GB, free: 7.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.5821, allocations: 20 kB / 0.5446 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.033e-05/0.5822, allocations: 36 kB / 0.5446 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01436/0.5966, allocations: 3.012 MB / 0.5476 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/0.6023, allocations: 1.291 MB / 0.5488 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03412/0.6365, allocations: 32.25 MB / 0.5803 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005092/0.6416, allocations: 342.3 kB / 0.5807 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008854/0.6425, allocations: 236 kB / 0.5809 GB, free: 15.47 MB / 462.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): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0} * Non-linear torn systems: 11 {23 0,2 0,2 0,2 0,2 0,23 0,2 0,2 0,2 0,2 0,23 0} Notification: Performance of prepare postOptimizeDAE: time 0.002624/0.6452, allocations: 0.8166 MB / 0.5817 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/0.6466, allocations: 458.5 kB / 0.5821 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009983/0.6566, allocations: 4.484 MB / 0.5865 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/0.6566, allocations: 40 kB / 0.5865 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-05/0.6567, allocations: 16 kB / 0.5865 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.755e-05/0.6568, allocations: 19.92 kB / 0.5866 GB, free: 9.59 MB / 462.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.01758/0.6744, allocations: 9.098 MB / 0.5955 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.6744, allocations: 0 / 0.5955 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2262/0.9007, allocations: 0.667 MB / 0.5961 GB, free: 152.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/0.904, allocations: 0.8248 MB / 0.5969 GB, free: 152.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005848/0.9047, allocations: 77.73 kB / 0.597 GB, free: 152.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/0.923, allocations: 11.46 MB / 0.6082 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.923, allocations: 8.281 kB / 0.6082 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.9346, allocations: 6.128 MB / 0.6142 GB, free: 145.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002286/0.937, allocations: 0.7745 MB / 0.6149 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008011/0.9378, allocations: 75.53 kB / 0.615 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/0.9401, allocations: 145.2 kB / 0.6151 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000647/0.9408, allocations: 278.5 kB / 0.6154 GB, free: 144.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.9409, allocations: 99 kB / 0.6155 GB, free: 144.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002486/0.9434, allocations: 1.828 MB / 0.6173 GB, free: 144.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9434, allocations: 0 / 0.6173 GB, free: 144.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005497/0.9489, allocations: 1.5 MB / 0.6187 GB, free: 144 MB / 462.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 {(36,8.0%) 0,(36,8.0%) 0,(36,8.0%) 0} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009876/0.9588, allocations: 7.032 MB / 0.6256 GB, free: 140.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01321/0.9721, allocations: 7.565 MB / 0.633 GB, free: 136.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.9722, allocations: 1.75 kB / 0.633 GB, free: 136.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007434/0.9796, allocations: 3.61 MB / 0.6365 GB, free: 135.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005902/0.9855, allocations: 0.4957 MB / 0.637 GB, free: 134.8 MB / 462.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.06168/1.047, allocations: 30.58 MB / 0.6669 GB, free: 104.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002493/1.05, allocations: 2.332 MB / 0.6692 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003002/1.053, allocations: 0.5598 MB / 0.6697 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.055, allocations: 1.772 MB / 0.6714 GB, free: 100.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.193e-06/1.055, allocations: 0 / 0.6714 GB, free: 100.1 MB / 462.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, 0.0, 0.0).