Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters.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.StaticGridComputedParameters,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters",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.001014/0.001014, allocations: 100.1 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.001264/0.001264, allocations: 177.3 kB / 15.95 MB, free: 216 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.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06013/0.06013, allocations: 14.16 MB / 284.5 MB, free: 7.133 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.0005274/0.0005275, allocations: 16 kB / 348.9 MB, free: 17.14 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1102, allocations: 51.11 MB / 400 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters): time 0.01005/0.1203, allocations: 10.16 MB / 410.2 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008755/0.1291, allocations: 5.047 MB / 415.2 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.1304, allocations: 27.88 kB / 415.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.1317, allocations: 469.5 kB / 415.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004893/0.1366, allocations: 2.014 MB / 417.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.138, allocations: 0.7048 MB / 418.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.1423, allocations: 2.606 MB / 421 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.1427, allocations: 221.4 kB / 421.3 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.1443, allocations: 0.9886 MB / 422.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.1455, allocations: 1.024 MB / 423.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.1457, allocations: 64 kB / 423.3 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.1468, allocations: 419.6 kB / 423.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.147, allocations: 258.8 kB / 424 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.1474, allocations: 380.8 kB / 424.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.1493, allocations: 1.847 MB / 426.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1493, allocations: 0 / 426.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1493, allocations: 0 / 426.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.1493, allocations: 0 / 426.2 MB, free: 3.707 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.008393/0.1577, allocations: 2.632 MB / 428.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1578, allocations: 12.02 kB / 428.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003067/0.1581, allocations: 190.1 kB / 429 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.1592, allocations: 281.6 kB / 429.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1967/0.3559, allocations: 1.079 MB / 430.4 MB, free: 35.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/0.356, allocations: 106.2 kB / 430.5 MB, free: 35.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.3562, allocations: 145 kB / 430.6 MB, free: 35.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.3586, allocations: 1.256 MB / 431.9 MB, free: 35.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.3587, allocations: 7.734 kB / 431.9 MB, free: 35.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.3588, allocations: 51.91 kB / 432 MB, free: 35.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.3588, allocations: 31.72 kB / 432 MB, free: 35.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.3613, allocations: 1.293 MB / 433.3 MB, free: 34.79 MB / 318.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.01051/0.3718, allocations: 8.483 MB / 441.8 MB, free: 27.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.3742, allocations: 2.108 MB / 443.9 MB, free: 26.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-05/0.3743, allocations: 19.08 kB / 443.9 MB, free: 26.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3744, allocations: 48.75 kB / 443.9 MB, free: 26.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 3.296e-06/0.3744, allocations: 0 / 443.9 MB, free: 26.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=141): time 0.01053/0.3849, allocations: 4.077 MB / 448 MB, free: 24.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.385, allocations: 73.92 kB / 448.1 MB, free: 24.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.3864, allocations: 1.084 MB / 449.2 MB, free: 24.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.009e-05/0.3865, allocations: 56.14 kB / 449.2 MB, free: 23.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.3869, allocations: 0.6752 MB / 449.9 MB, free: 23.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.3872, allocations: 0.4997 MB / 450.4 MB, free: 22.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.3873, allocations: 44.12 kB / 450.4 MB, free: 22.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3874, allocations: 378.8 kB / 450.8 MB, free: 22.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/0.3883, allocations: 0.5607 MB / 451.4 MB, free: 22.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.3893, allocations: 0.9897 MB / 452.4 MB, free: 21.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.3905, allocations: 0.7116 MB / 453.1 MB, free: 21.03 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.3905, allocations: 13.06 kB / 453.1 MB, free: 21.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004329/0.3948, allocations: 2.324 MB / 455.4 MB, free: 19.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.3949, allocations: 12.5 kB / 455.4 MB, free: 19.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.3949, allocations: 11.81 kB / 455.4 MB, free: 19.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/0.3976, allocations: 0.7739 MB / 456.2 MB, free: 19.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.3993, allocations: 494.7 kB / 456.7 MB, free: 19.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009488/0.4088, allocations: 12.81 MB / 469.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.4107, allocations: 118.8 kB / 469.6 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4108, allocations: 87.19 kB / 469.7 MB, free: 6.883 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (235): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {3 20,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006154/0.4114, allocations: 355 kB / 470.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.4116, allocations: 154.1 kB / 470.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.4139, allocations: 1.533 MB / 471.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.414, allocations: 15.94 kB / 471.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.414, allocations: 11.94 kB / 471.8 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.414, allocations: 3.984 kB / 471.8 MB, free: 4.789 MB / 318.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.003812/0.4178, allocations: 3.149 MB / 474.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.4178, allocations: 4 kB / 474.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.4189, allocations: 275.7 kB / 475.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.4202, allocations: 472.1 kB / 475.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.432e-05/0.4203, allocations: 28 kB / 475.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/0.4258, allocations: 3.708 MB / 479.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4258, allocations: 3.938 kB / 479.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.4296, allocations: 2.134 MB / 481.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/0.4302, allocations: 315.1 kB / 481.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.4304, allocations: 28 kB / 481.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/0.4312, allocations: 43.75 kB / 481.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.4314, allocations: 101 kB / 482 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.4314, allocations: 32 kB / 482 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.4325, allocations: 0.6847 MB / 482.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4325, allocations: 0 / 482.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001752/0.4342, allocations: 0.5391 MB / 483.3 MB, free: 9.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (GEN.theta,GEN.omegaPu,GEN.lambdaDPu,GEN.lambdafPu,GEN.lambdaQ1Pu,GEN.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 (108): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 27} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004053/0.4383, allocations: 2.82 MB / 486.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003966/0.4423, allocations: 2.539 MB / 488.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4423, allocations: 0 / 488.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.4439, allocations: 0.925 MB / 489.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.4447, allocations: 148.8 kB / 489.7 MB, free: 2.461 MB / 334.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.0089/0.4536, allocations: 12.59 MB / 0.4905 GB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008167/0.4544, allocations: 1.242 MB / 0.4917 GB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008906/0.4553, allocations: 195.7 kB / 0.4919 GB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006982/0.456, allocations: 0.554 MB / 0.4924 GB, free: 3.531 MB / 350.1 MB Notification: Performance of SimCode: time 1.343e-06/0.456, allocations: 0 / 0.4924 GB, free: 3.531 MB / 350.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).