Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends.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.LoadChange.LoadChangeByModifierUsingExtends,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends",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.0009616/0.0009614, allocations: 97.36 kB / 15.69 MB, free: 480 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.001025/0.001025, allocations: 179.2 kB / 16.57 MB, free: 6.387 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.541/1.541, allocations: 205.4 MB / 222.7 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.05817/0.05817, allocations: 14.16 MB / 285.2 MB, free: 7.156 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.0005266/0.0005266, allocations: 12 kB / 349.5 MB, free: 17.13 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 51.12 MB / 400.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends): time 0.01032/0.1206, allocations: 10.16 MB / 410.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008635/0.1293, allocations: 5.055 MB / 415.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.1309, allocations: 35.81 kB / 415.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.1326, allocations: 465.4 kB / 416.4 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006428/0.139, allocations: 2.007 MB / 418.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.1411, allocations: 0.7167 MB / 419.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005295/0.1464, allocations: 2.606 MB / 421.7 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005122/0.1469, allocations: 221.4 kB / 421.9 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.1488, allocations: 0.9848 MB / 422.9 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.1501, allocations: 1.024 MB / 423.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.1503, allocations: 68 kB / 424 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.1517, allocations: 423.6 kB / 424.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.152, allocations: 258.8 kB / 424.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000452/0.1524, allocations: 372.8 kB / 425 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.1547, allocations: 1.854 MB / 426.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1547, allocations: 0 / 426.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1547, allocations: 0 / 426.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1548, allocations: 0 / 426.9 MB, free: 3.668 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.008502/0.1633, allocations: 2.636 MB / 429.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1633, allocations: 12.02 kB / 429.5 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000311/0.1636, allocations: 190.1 kB / 429.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1647, allocations: 285.6 kB / 430 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.239/0.4037, allocations: 1.075 MB / 431.1 MB, free: 35.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.4039, allocations: 109 kB / 431.2 MB, free: 35.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.4042, allocations: 143.2 kB / 431.3 MB, free: 35.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.4067, allocations: 1.263 MB / 432.6 MB, free: 35.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.4068, allocations: 4.703 kB / 432.6 MB, free: 35.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.4069, allocations: 52.66 kB / 432.6 MB, free: 35.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.407, allocations: 32.34 kB / 432.7 MB, free: 35.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.4093, allocations: 1.298 MB / 434 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.01083/0.4202, allocations: 8.454 MB / 442.4 MB, free: 27.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.4228, allocations: 2.133 MB / 444.5 MB, free: 26.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.783e-05/0.423, allocations: 25.03 kB / 444.6 MB, free: 26.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.423, allocations: 47.95 kB / 444.6 MB, free: 26.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 3.757e-06/0.423, allocations: 0 / 444.6 MB, free: 26.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=145): time 0.01124/0.4343, allocations: 4.121 MB / 448.7 MB, free: 24.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.4343, allocations: 66.78 kB / 448.8 MB, free: 24.44 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.4359, allocations: 1.056 MB / 449.9 MB, free: 24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-05/0.436, allocations: 60.48 kB / 449.9 MB, free: 23.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.4364, allocations: 0.671 MB / 450.6 MB, free: 23.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/0.4367, allocations: 0.5092 MB / 451.1 MB, free: 22.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.4368, allocations: 40.25 kB / 451.1 MB, free: 22.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4369, allocations: 390.6 kB / 451.5 MB, free: 22.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009792/0.4379, allocations: 0.5551 MB / 452.1 MB, free: 22.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.4392, allocations: 1.006 MB / 453.1 MB, free: 21.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.4405, allocations: 0.7227 MB / 453.8 MB, free: 20.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.4405, allocations: 4.312 kB / 453.8 MB, free: 20.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004458/0.445, allocations: 2.346 MB / 456.2 MB, free: 19.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.445, allocations: 11.91 kB / 456.2 MB, free: 19.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.4451, allocations: 11.97 kB / 456.2 MB, free: 19.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/0.4477, allocations: 0.7453 MB / 456.9 MB, free: 19.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.4496, allocations: 0.4909 MB / 457.4 MB, free: 19.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009246/0.4589, allocations: 11.48 MB / 468.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.4612, allocations: 114.9 kB / 469 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.4613, allocations: 83.17 kB / 469.1 MB, free: 8.211 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 (237): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0007311/0.4621, allocations: 362.2 kB / 469.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.4623, allocations: 166.1 kB / 469.6 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.4649, allocations: 1.58 MB / 471.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4649, allocations: 16 kB / 471.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4649, allocations: 4 kB / 471.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.465, allocations: 7.969 kB / 471.2 MB, free: 6.102 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.004453/0.4694, allocations: 3.221 MB / 474.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4694, allocations: 0 / 474.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.4706, allocations: 287.6 kB / 474.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.472, allocations: 460.1 kB / 475.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/0.472, allocations: 31.94 kB / 475.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005464/0.4775, allocations: 3.705 MB / 478.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4775, allocations: 0 / 478.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03134/0.5089, allocations: 14.8 MB / 493.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006406/0.5096, allocations: 327 kB / 494 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.5098, allocations: 20.09 kB / 494 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/0.5106, allocations: 59.7 kB / 494.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.5108, allocations: 97.16 kB / 494.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.5109, allocations: 32 kB / 494.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009727/0.5119, allocations: 0.6687 MB / 494.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5119, allocations: 0 / 494.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002713/0.5146, allocations: 0.7238 MB / 495.6 MB, free: 13.11 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 (112): * Single equations (assignments): 111 * 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.004609/0.5192, allocations: 2.874 MB / 498.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004593/0.5239, allocations: 2.528 MB / 0.4893 GB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5239, allocations: 0 / 0.4893 GB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.5258, allocations: 0.9609 MB / 0.4902 GB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.527, allocations: 152.8 kB / 0.4904 GB, free: 6.465 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.01289/0.5399, allocations: 13.87 MB / 0.5039 GB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.541, allocations: 1.291 MB / 0.5052 GB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.5422, allocations: 203.6 kB / 0.5054 GB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/0.543, allocations: 0.5578 MB / 0.5059 GB, free: 6.168 MB / 366.1 MB Notification: Performance of SimCode: time 1.502e-06/0.543, allocations: 0 / 0.5059 GB, free: 6.168 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).