Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridDifferentGeneratorParam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam,fileNamePrefix="PowerGrids_symb_jac_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.00105/0.00105, allocations: 92.86 kB / 15.71 MB, free: 464 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 177.7 kB / 16.59 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06236/0.06236, allocations: 14.17 MB / 285.2 MB, free: 7.117 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.0007654/0.0007655, allocations: 20 kB / 349.6 MB, free: 17.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1268, allocations: 51.11 MB / 400.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam): time 0.2756/0.4025, allocations: 29.89 MB / 430.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02326/0.4258, allocations: 11.82 MB / 442.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007544/0.4334, allocations: 91.38 kB / 442.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006317/0.4398, allocations: 1.188 MB / 443.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01846/0.4583, allocations: 4.15 MB / 447.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005529/0.4638, allocations: 1.263 MB / 449.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02265/0.4865, allocations: 10.39 MB / 459.5 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002605/0.4891, allocations: 0.6084 MB / 460.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008097/0.4973, allocations: 2.73 MB / 462.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007307/0.5046, allocations: 3.059 MB / 465.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002056/0.5067, allocations: 186.1 kB / 466.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007098/0.5138, allocations: 0.717 MB / 466.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.5157, allocations: 0.7131 MB / 467.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004294/0.52, allocations: 1.028 MB / 468.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009425/0.5294, allocations: 5.208 MB / 473.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5295, allocations: 0 / 473.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5295, allocations: 0 / 473.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003237/0.5298, allocations: 0 / 473.8 MB, free: 15.82 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.02686/0.5567, allocations: 7.058 MB / 480.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.5568, allocations: 15.95 kB / 480.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00183/0.5586, allocations: 0.5036 MB / 481.3 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/0.5635, allocations: 0.8055 MB / 482.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.5745, allocations: 2.849 MB / 485 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000416/0.5749, allocations: 307.6 kB / 485.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0016/0.5765, allocations: 422.3 kB / 485.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.5867, allocations: 3.733 MB / 489.4 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-05/0.5868, allocations: 3.938 kB / 489.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003256/0.5871, allocations: 161.7 kB / 489.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/0.5872, allocations: 99.98 kB / 489.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0068/0.594, allocations: 3.867 MB / 493.6 MB, free: 11.95 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.03319/0.6272, allocations: 24.56 MB / 0.506 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007321/0.6346, allocations: 6.352 MB / 0.5122 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/0.6369, allocations: 1.509 MB / 0.5137 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.6371, allocations: 59.36 kB / 0.5137 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.6372, allocations: 77.81 kB / 0.5138 GB, free: 8.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=420): time 5.079e-06/0.6372, allocations: 4 kB / 0.5138 GB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=423): time 0.03095/0.6681, allocations: 11.97 MB / 0.5255 GB, free: 12.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.6683, allocations: 94.73 kB / 0.5256 GB, free: 12.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004662/0.6729, allocations: 2.967 MB / 0.5285 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006794/0.6736, allocations: 105.7 kB / 0.5286 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.6752, allocations: 1.895 MB / 0.5304 GB, free: 7.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001804/0.677, allocations: 1.486 MB / 0.5319 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.6773, allocations: 120 kB / 0.532 GB, free: 5.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002947/0.6776, allocations: 0.5187 MB / 0.5325 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/0.6802, allocations: 1.558 MB / 0.534 GB, free: 3.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/0.6841, allocations: 2.881 MB / 0.5368 GB, free: 80 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/0.6878, allocations: 2.037 MB / 0.5388 GB, free: 14.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/0.6878, allocations: 12 kB / 0.5388 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.0146/0.7024, allocations: 6.526 MB / 0.5452 GB, free: 7.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.7025, allocations: 20 kB / 0.5452 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-05/0.7026, allocations: 40 kB / 0.5453 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0143/0.7169, allocations: 3.013 MB / 0.5482 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005798/0.7227, allocations: 1.295 MB / 0.5495 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03517/0.7579, allocations: 32.25 MB / 0.581 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006396/0.7644, allocations: 338.1 kB / 0.5813 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/0.7655, allocations: 236 kB / 0.5815 GB, free: 15.5 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.002274/0.7678, allocations: 0.8166 MB / 0.5823 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/0.769, allocations: 460.8 kB / 0.5827 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008675/0.7777, allocations: 4.481 MB / 0.5871 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/0.7778, allocations: 40 kB / 0.5872 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.602e-05/0.7778, allocations: 20 kB / 0.5872 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.893e-05/0.7778, allocations: 23.92 kB / 0.5872 GB, free: 9.617 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.01602/0.7939, allocations: 9.092 MB / 0.5961 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.7939, allocations: 0 / 0.5961 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3046/1.099, allocations: 0.6677 MB / 0.5967 GB, free: 152.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003916/1.103, allocations: 0.8259 MB / 0.5975 GB, free: 152.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000897/1.103, allocations: 77.2 kB / 0.5976 GB, free: 152.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02212/1.126, allocations: 11.45 MB / 0.6088 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.126, allocations: 4.656 kB / 0.6088 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07109/1.197, allocations: 37.53 MB / 0.6454 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00336/1.2, allocations: 0.7714 MB / 0.6462 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/1.202, allocations: 74.69 kB / 0.6463 GB, free: 127.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/1.205, allocations: 145.6 kB / 0.6464 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/1.206, allocations: 272.5 kB / 0.6467 GB, free: 127.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003986/1.206, allocations: 104 kB / 0.6468 GB, free: 127.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003984/1.21, allocations: 1.825 MB / 0.6486 GB, free: 125.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.21, allocations: 2.625 kB / 0.6486 GB, free: 125.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009603/1.22, allocations: 2.032 MB / 0.6505 GB, free: 123.8 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.01131/1.231, allocations: 7.045 MB / 0.6574 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01156/1.243, allocations: 7.564 MB / 0.6648 GB, free: 109 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.243, allocations: 0 / 0.6648 GB, free: 109 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007466/1.251, allocations: 3.622 MB / 0.6683 GB, free: 105.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006058/1.257, allocations: 499.7 kB / 0.6688 GB, free: 104.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.07232/1.329, allocations: 34.84 MB / 0.7028 GB, free: 68.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004018/1.333, allocations: 2.504 MB / 0.7053 GB, free: 65.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003807/1.337, allocations: 0.5598 MB / 0.7058 GB, free: 64.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003196/1.34, allocations: 1.78 MB / 0.7076 GB, free: 63.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.163e-06/1.34, allocations: 0 / 0.7076 GB, free: 63.14 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).