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.0009901/0.0009905, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00103/0.00103, allocations: 172.7 kB / 15.95 MB, free: 208 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.504/1.504, 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.06188/0.06188, allocations: 14.17 MB / 284.6 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.0005647/0.0005648, allocations: 18.81 kB / 349 MB, free: 17.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.0982, allocations: 51.12 MB / 400.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters): time 0.01122/0.1095, allocations: 11.14 MB / 411.2 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009323/0.1188, allocations: 5.073 MB / 416.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.1205, allocations: 31.88 kB / 416.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.1219, allocations: 473.4 kB / 416.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005401/0.1273, allocations: 1.856 MB / 418.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.1289, allocations: 0.6973 MB / 419.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004774/0.1336, allocations: 3.547 MB / 422.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.1341, allocations: 217.4 kB / 423.1 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.1357, allocations: 0.9527 MB / 424.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.1369, allocations: 1.035 MB / 425.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.1371, allocations: 64 kB / 425.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.1382, allocations: 439.7 kB / 425.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1385, allocations: 254.6 kB / 425.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.1389, allocations: 380.8 kB / 426.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.1408, allocations: 1.874 MB / 428.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1409, allocations: 0 / 428.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1409, allocations: 0 / 428.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.1409, allocations: 0 / 428.1 MB, free: 1.773 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.1811/0.3221, allocations: 2.63 MB / 430.7 MB, free: 35.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3221, allocations: 10.28 kB / 430.7 MB, free: 35.95 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004826/0.3226, allocations: 187.9 kB / 430.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.3237, allocations: 278 kB / 431.2 MB, free: 35.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.3256, allocations: 1.089 MB / 432.3 MB, free: 35.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.3257, allocations: 109.7 kB / 432.4 MB, free: 35.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.3259, allocations: 143.8 kB / 432.5 MB, free: 35.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.3281, allocations: 1.266 MB / 433.8 MB, free: 35.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.3282, allocations: 3.938 kB / 433.8 MB, free: 35.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.3283, allocations: 55.97 kB / 433.8 MB, free: 35.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.3283, allocations: 31.75 kB / 433.9 MB, free: 35.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.3304, allocations: 1.293 MB / 435.2 MB, free: 34.57 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.008788/0.3392, allocations: 8.384 MB / 443.6 MB, free: 27.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.3414, allocations: 2.078 MB / 445.6 MB, free: 26.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007619/0.3422, allocations: 0.5031 MB / 446.1 MB, free: 25.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.693e-05/0.3423, allocations: 17.08 kB / 446.2 MB, free: 25.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3423, allocations: 54.11 kB / 446.2 MB, free: 25.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 2.956e-06/0.3424, allocations: 0 / 446.2 MB, free: 25.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=141): time 0.01036/0.3527, allocations: 4.239 MB / 450.4 MB, free: 23.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3528, allocations: 66.47 kB / 450.5 MB, free: 23.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.3541, allocations: 1.082 MB / 451.6 MB, free: 23.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.3542, allocations: 55.58 kB / 451.6 MB, free: 23.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.3547, allocations: 0.6842 MB / 452.3 MB, free: 22.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/0.355, allocations: 0.496 MB / 452.8 MB, free: 22.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.3551, allocations: 44.53 kB / 452.9 MB, free: 22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3552, allocations: 382.4 kB / 453.2 MB, free: 21.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009635/0.3562, allocations: 0.5525 MB / 453.8 MB, free: 21.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.3574, allocations: 1.004 MB / 454.8 MB, free: 20.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.3583, allocations: 0.7156 MB / 455.5 MB, free: 20.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.3583, allocations: 3.906 kB / 455.5 MB, free: 20.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.003913/0.3622, allocations: 2.324 MB / 457.8 MB, free: 18.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.3623, allocations: 7.906 kB / 457.9 MB, free: 18.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.3623, allocations: 20.27 kB / 457.9 MB, free: 18.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005432/0.3677, allocations: 1.197 MB / 459.1 MB, free: 18.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.3694, allocations: 478.3 kB / 459.5 MB, free: 18.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00954/0.379, allocations: 12.49 MB / 472 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.3808, allocations: 119.2 kB / 472.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.3809, allocations: 84.48 kB / 472.2 MB, free: 4.68 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): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0} * Non-linear torn systems: 5 {23 0,2 0,2 0,2 0,2 0} Notification: Performance of prepare postOptimizeDAE: time 0.0005902/0.3815, allocations: 357.5 kB / 472.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.3817, allocations: 154.1 kB / 472.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.3841, allocations: 1.533 MB / 474.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3841, allocations: 16 kB / 474.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3842, allocations: 5.688 kB / 474.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3842, allocations: 3.984 kB / 474.3 MB, free: 2.594 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.004082/0.3883, allocations: 3.154 MB / 477.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3883, allocations: 0 / 477.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.3893, allocations: 239.7 kB / 477.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.3904, allocations: 292.4 kB / 478 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-05/0.3904, allocations: 31.98 kB / 478 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006169/0.3966, allocations: 3.825 MB / 481.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3967, allocations: 3.938 kB / 481.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004115/0.4008, allocations: 2.13 MB / 483.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008613/0.4017, allocations: 323.1 kB / 484.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.4019, allocations: 28 kB / 484.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/0.4026, allocations: 47.67 kB / 484.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.4028, allocations: 93.17 kB / 484.4 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.4029, allocations: 32 kB / 484.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009848/0.4039, allocations: 0.6886 MB / 485.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4039, allocations: 0 / 485.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001845/0.4058, allocations: 0.5284 MB / 485.7 MB, free: 6.926 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 {(36,8.0%) 0} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004126/0.4099, allocations: 2.8 MB / 488.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004963/0.4149, allocations: 2.737 MB / 491.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4149, allocations: 2 kB / 491.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.4173, allocations: 1.202 MB / 492.4 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.4187, allocations: 178.3 kB / 492.6 MB, free: 15.88 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.01698/0.4357, allocations: 9.341 MB / 0.4902 GB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009062/0.4367, allocations: 1.227 MB / 0.4914 GB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009811/0.4377, allocations: 195.5 kB / 0.4916 GB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007692/0.4384, allocations: 0.554 MB / 0.4921 GB, free: 4.07 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4384, allocations: 0 / 0.4921 GB, free: 4.07 MB / 350.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).