Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters,fileNamePrefix="PowerGrids_symb_jac_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.001001/0.001002, allocations: 96.97 kB / 15.7 MB, free: 472 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.001113/0.001113, allocations: 176.7 kB / 16.57 MB, free: 6.391 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.558/1.558, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0604/0.0604, allocations: 14.16 MB / 285.2 MB, free: 7.152 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.0005351/0.0005351, allocations: 12 kB / 349.6 MB, free: 17.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1071, allocations: 51.11 MB / 400.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters): time 0.009158/0.1163, allocations: 10.15 MB / 410.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007963/0.1243, allocations: 5.055 MB / 415.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.1258, allocations: 31.81 kB / 415.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.1273, allocations: 473.5 kB / 416.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005764/0.133, allocations: 2.011 MB / 418.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.1347, allocations: 0.7081 MB / 419.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004908/0.1396, allocations: 2.603 MB / 421.7 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004571/0.1401, allocations: 221.4 kB / 421.9 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.1418, allocations: 0.9848 MB / 422.9 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.1434, allocations: 1.027 MB / 423.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.1436, allocations: 67.98 kB / 424 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.145, allocations: 419.6 kB / 424.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.1453, allocations: 254.8 kB / 424.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004529/0.1457, allocations: 372.8 kB / 425 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.1479, allocations: 1.847 MB / 426.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1479, allocations: 0 / 426.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.148, allocations: 0 / 426.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.625e-05/0.148, allocations: 0 / 426.9 MB, free: 3.688 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.009921/0.1579, allocations: 2.636 MB / 429.5 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.158, allocations: 15.97 kB / 429.5 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003856/0.1584, allocations: 190.1 kB / 429.7 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.1596, allocations: 277.6 kB / 430 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2102/0.3698, allocations: 1.082 MB / 431 MB, free: 35.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3699, allocations: 105.7 kB / 431.1 MB, free: 35.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.3702, allocations: 144 kB / 431.3 MB, free: 35.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.3727, allocations: 1.258 MB / 432.5 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.3728, allocations: 8.016 kB / 432.6 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.3729, allocations: 52 kB / 432.6 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.3729, allocations: 31.06 kB / 432.6 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.3752, allocations: 1.292 MB / 433.9 MB, free: 34.82 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.01046/0.3857, allocations: 8.485 MB / 442.4 MB, free: 27.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.3882, allocations: 2.106 MB / 444.5 MB, free: 26.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.699e-05/0.3883, allocations: 18.12 kB / 444.5 MB, free: 26.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3883, allocations: 48.5 kB / 444.6 MB, free: 26.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 4.148e-06/0.3883, allocations: 0 / 444.6 MB, free: 26.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=141): time 0.01082/0.3991, allocations: 4.081 MB / 448.7 MB, free: 24.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.3993, allocations: 70.89 kB / 448.7 MB, free: 24.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.401, allocations: 1.076 MB / 449.8 MB, free: 24.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.4011, allocations: 56.17 kB / 449.9 MB, free: 23.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.4016, allocations: 0.6835 MB / 450.5 MB, free: 23.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/0.402, allocations: 0.4994 MB / 451 MB, free: 22.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.4021, allocations: 39.81 kB / 451.1 MB, free: 22.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4022, allocations: 379.5 kB / 451.5 MB, free: 22.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008769/0.4031, allocations: 0.5563 MB / 452 MB, free: 22.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.4043, allocations: 0.9914 MB / 453 MB, free: 21.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.4057, allocations: 0.7131 MB / 453.7 MB, free: 21.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.4057, allocations: 11.41 kB / 453.7 MB, free: 21.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004969/0.4107, allocations: 2.331 MB / 456.1 MB, free: 19.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4107, allocations: 8.531 kB / 456.1 MB, free: 19.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.4108, allocations: 11.78 kB / 456.1 MB, free: 19.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.4133, allocations: 0.7741 MB / 456.9 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.415, allocations: 498.6 kB / 457.3 MB, free: 19.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009499/0.4245, allocations: 12.82 MB / 470.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.4265, allocations: 122.8 kB / 470.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.4266, allocations: 77.61 kB / 470.4 MB, free: 6.859 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.0006012/0.4272, allocations: 353.3 kB / 470.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.4275, allocations: 154.1 kB / 470.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.4298, allocations: 1.537 MB / 472.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.4298, allocations: 12 kB / 472.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.4298, allocations: 8 kB / 472.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4299, allocations: 7.922 kB / 472.4 MB, free: 4.766 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.003958/0.4338, allocations: 3.15 MB / 475.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4338, allocations: 4 kB / 475.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.4349, allocations: 275.7 kB / 475.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.4362, allocations: 472.1 kB / 476.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.4363, allocations: 28 kB / 476.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/0.4418, allocations: 3.711 MB / 480 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4419, allocations: 0 / 480 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02847/0.4703, allocations: 14.36 MB / 494.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005647/0.4709, allocations: 315.1 kB / 494.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.4711, allocations: 20 kB / 494.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007607/0.4719, allocations: 55.69 kB / 494.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.4721, allocations: 97.16 kB / 494.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.4722, allocations: 32 kB / 494.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009638/0.4731, allocations: 0.6847 MB / 495.6 MB, free: 13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4731, allocations: 0 / 495.6 MB, free: 13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00225/0.4754, allocations: 0.7344 MB / 496.3 MB, free: 12.27 MB / 350.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.003968/0.4794, allocations: 2.817 MB / 499.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004297/0.4837, allocations: 2.539 MB / 0.4899 GB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4837, allocations: 0 / 0.4899 GB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.4855, allocations: 0.9159 MB / 0.4908 GB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.4866, allocations: 153.9 kB / 0.491 GB, free: 5.719 MB / 350.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.01114/0.4978, allocations: 13.77 MB / 0.5044 GB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.4987, allocations: 1.295 MB / 0.5057 GB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009757/0.4997, allocations: 195.9 kB / 0.5059 GB, free: 6.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007028/0.5004, allocations: 0.5573 MB / 0.5064 GB, free: 5.52 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5004, allocations: 0 / 0.5064 GB, free: 5.52 MB / 366.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).