Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier.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.LoadChangeByModifier,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier",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.001052/0.001052, allocations: 92.7 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.001352/0.001351, allocations: 175.2 kB / 16.58 MB, free: 6.855 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.899/1.899, allocations: 205.4 MB / 222.8 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.0654/0.0654, allocations: 14.17 MB / 285.2 MB, free: 7.121 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.0005567/0.0005568, allocations: 12 kB / 349.6 MB, free: 17.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 51.13 MB / 400.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier): time 0.01292/0.1327, allocations: 11.14 MB / 411.9 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1436, allocations: 5.073 MB / 417 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.1461, allocations: 27.88 kB / 417 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.1484, allocations: 473.4 kB / 417.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006887/0.1553, allocations: 1.853 MB / 419.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.1575, allocations: 0.7125 MB / 420 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006085/0.1635, allocations: 3.531 MB / 423.5 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008097/0.1644, allocations: 217.4 kB / 423.8 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.1668, allocations: 0.9449 MB / 424.7 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.1693, allocations: 1.05 MB / 425.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00056/0.1698, allocations: 68 kB / 425.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.172, allocations: 439.7 kB / 426.2 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005768/0.1726, allocations: 254.6 kB / 426.5 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.174, allocations: 376.8 kB / 426.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003723/0.1777, allocations: 1.874 MB / 428.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1777, allocations: 4 kB / 428.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1777, allocations: 0 / 428.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.1778, allocations: 0 / 428.7 MB, free: 1.781 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.2418/0.4196, allocations: 2.636 MB / 431.4 MB, free: 35.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.4197, allocations: 10.31 kB / 431.4 MB, free: 35.52 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004807/0.4202, allocations: 187.5 kB / 431.6 MB, free: 35.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.4213, allocations: 279.1 kB / 431.8 MB, free: 35.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.4234, allocations: 1.083 MB / 432.9 MB, free: 34.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.394e-05/0.4236, allocations: 104.1 kB / 433 MB, free: 34.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.4238, allocations: 150.3 kB / 433.2 MB, free: 34.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.4263, allocations: 1.268 MB / 434.4 MB, free: 34.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.4263, allocations: 4.906 kB / 434.4 MB, free: 34.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.4264, allocations: 51.22 kB / 434.5 MB, free: 34.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.4265, allocations: 31.72 kB / 434.5 MB, free: 34.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.4293, allocations: 1.304 MB / 435.8 MB, free: 34.42 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.01143/0.4407, allocations: 8.367 MB / 444.2 MB, free: 27.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.4434, allocations: 2.105 MB / 446.3 MB, free: 26.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009329/0.4443, allocations: 0.5222 MB / 446.8 MB, free: 25.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.4445, allocations: 26.94 kB / 446.9 MB, free: 25.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.4445, allocations: 48.59 kB / 446.9 MB, free: 25.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 5.471e-06/0.4445, allocations: 0 / 446.9 MB, free: 25.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=145): time 0.01215/0.4567, allocations: 4.261 MB / 451.2 MB, free: 23.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.4568, allocations: 71.8 kB / 451.2 MB, free: 23.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.4586, allocations: 1.063 MB / 452.3 MB, free: 22.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.4587, allocations: 59.81 kB / 452.4 MB, free: 22.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004865/0.4592, allocations: 0.6632 MB / 453 MB, free: 22.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005585/0.4598, allocations: 0.5127 MB / 453.5 MB, free: 21.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.4599, allocations: 40.44 kB / 453.6 MB, free: 21.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.46, allocations: 386.8 kB / 453.9 MB, free: 21.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.4611, allocations: 0.556 MB / 454.5 MB, free: 21.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4622, allocations: 1.013 MB / 455.5 MB, free: 20.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.4634, allocations: 0.7264 MB / 456.2 MB, free: 19.97 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.4634, allocations: 3.969 kB / 456.2 MB, free: 19.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004217/0.4676, allocations: 2.343 MB / 458.6 MB, free: 18.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.4676, allocations: 12 kB / 458.6 MB, free: 18.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.4677, allocations: 15.91 kB / 458.6 MB, free: 18.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005284/0.473, allocations: 1.18 MB / 459.8 MB, free: 18.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.4747, allocations: 482.6 kB / 460.3 MB, free: 18.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009236/0.484, allocations: 12.47 MB / 472.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.4861, allocations: 119.3 kB / 472.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4863, allocations: 79.98 kB / 472.9 MB, free: 4.52 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): 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.000654/0.4869, allocations: 361.5 kB / 473.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.4872, allocations: 154.1 kB / 473.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.4897, allocations: 1.58 MB / 475 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.4897, allocations: 18.48 kB / 475 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4897, allocations: 8 kB / 475 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.4897, allocations: 7.969 kB / 475.1 MB, free: 2.371 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.004521/0.4943, allocations: 3.218 MB / 478.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4943, allocations: 3.938 kB / 478.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.4954, allocations: 255.7 kB / 478.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009971/0.4964, allocations: 280.5 kB / 478.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/0.4965, allocations: 24 kB / 478.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006024/0.5025, allocations: 3.822 MB / 482.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5025, allocations: 0 / 482.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02517/0.5277, allocations: 13.7 MB / 496.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/0.5283, allocations: 323.1 kB / 496.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.5285, allocations: 24 kB / 496.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007534/0.5293, allocations: 47.73 kB / 496.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.5295, allocations: 97.16 kB / 496.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.5296, allocations: 40 kB / 496.9 MB, free: 12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009524/0.5306, allocations: 0.6687 MB / 497.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5306, allocations: 0 / 497.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002281/0.5329, allocations: 0.6964 MB / 498.2 MB, free: 10.64 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 {(36,8.0%) 0} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0044/0.5373, allocations: 2.883 MB / 0.4894 GB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005358/0.5426, allocations: 2.773 MB / 0.4921 GB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5427, allocations: 448 / 0.4921 GB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002419/0.5451, allocations: 1.231 MB / 0.4933 GB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5465, allocations: 192.4 kB / 0.4935 GB, free: 3.434 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.02033/0.5669, allocations: 10.9 MB / 0.5041 GB, free: 8.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.5679, allocations: 1.283 MB / 0.5054 GB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001112/0.5691, allocations: 203.5 kB / 0.5056 GB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008148/0.5699, allocations: 0.554 MB / 0.5061 GB, free: 5.977 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5699, allocations: 0 / 0.5061 GB, free: 5.977 MB / 366.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).