Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier,fileNamePrefix="PowerGrids_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.00108/0.00108, allocations: 99.55 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.001016/0.001016, allocations: 177.3 kB / 15.94 MB, free: 228 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.542/1.542, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0593/0.0593, allocations: 14.16 MB / 284.5 MB, free: 7.031 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.0005662/0.0005663, allocations: 12 kB / 348.9 MB, free: 17.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1032, allocations: 51.12 MB / 400 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier): time 0.009566/0.1128, allocations: 10.15 MB / 410.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008518/0.1213, allocations: 5.055 MB / 415.2 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.123, allocations: 27.88 kB / 415.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.1245, allocations: 469.5 kB / 415.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005452/0.1299, allocations: 2.004 MB / 417.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.1316, allocations: 0.7197 MB / 418.4 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004741/0.1363, allocations: 2.599 MB / 421 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.1368, allocations: 217.4 kB / 421.3 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.1385, allocations: 0.9886 MB / 422.2 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.1397, allocations: 1.024 MB / 423.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1399, allocations: 71.94 kB / 423.3 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.141, allocations: 415.7 kB / 423.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.1413, allocations: 258.8 kB / 424 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.1417, allocations: 372.8 kB / 424.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.1437, allocations: 1.862 MB / 426.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1437, allocations: 0 / 426.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1437, allocations: 4 kB / 426.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.192e-05/0.1438, allocations: 0 / 426.2 MB, free: 3.66 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.009049/0.1528, allocations: 2.636 MB / 428.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1529, allocations: 8.031 kB / 428.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003515/0.1532, allocations: 186.1 kB / 429 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.1544, allocations: 285.6 kB / 429.3 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2102/0.3646, allocations: 1.076 MB / 430.4 MB, free: 34.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/0.3647, allocations: 110.9 kB / 430.5 MB, free: 34.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.365, allocations: 144 kB / 430.7 MB, free: 34.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.3676, allocations: 1.262 MB / 431.9 MB, free: 34.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.3676, allocations: 4.578 kB / 431.9 MB, free: 34.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.3677, allocations: 51.66 kB / 432 MB, free: 34.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/0.3678, allocations: 32.34 kB / 432 MB, free: 34.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.3704, allocations: 1.297 MB / 433.3 MB, free: 34.62 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.01075/0.3812, allocations: 8.466 MB / 441.8 MB, free: 27.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.3839, allocations: 2.129 MB / 443.9 MB, free: 26.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.519e-05/0.384, allocations: 19.34 kB / 443.9 MB, free: 26.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.384, allocations: 50.27 kB / 444 MB, free: 26.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 3.246e-06/0.384, allocations: 0 / 444 MB, free: 26.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=145): time 0.01115/0.3952, allocations: 4.121 MB / 448.1 MB, free: 24.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3953, allocations: 70.53 kB / 448.2 MB, free: 24.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.3968, allocations: 1.06 MB / 449.2 MB, free: 23.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3969, allocations: 55.61 kB / 449.3 MB, free: 23.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.3972, allocations: 0.6663 MB / 449.9 MB, free: 23.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.3976, allocations: 0.5083 MB / 450.4 MB, free: 22.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-05/0.3977, allocations: 40.19 kB / 450.5 MB, free: 22.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.3978, allocations: 383.9 kB / 450.9 MB, free: 22.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.3987, allocations: 0.5675 MB / 451.4 MB, free: 22.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.3998, allocations: 0.9971 MB / 452.4 MB, free: 21.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.4011, allocations: 0.7236 MB / 453.1 MB, free: 20.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.4011, allocations: 4.219 kB / 453.1 MB, free: 20.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004666/0.4057, allocations: 2.345 MB / 455.5 MB, free: 19.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.4058, allocations: 11.78 kB / 455.5 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.4058, allocations: 11.84 kB / 455.5 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002694/0.4085, allocations: 0.7467 MB / 456.3 MB, free: 19.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.4104, allocations: 498.6 kB / 456.7 MB, free: 19.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.4206, allocations: 11.51 MB / 468.3 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.4228, allocations: 102.5 kB / 468.4 MB, free: 8.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.4229, allocations: 81.61 kB / 468.4 MB, free: 8.066 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.0007149/0.4237, allocations: 370 kB / 468.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.4239, allocations: 158.1 kB / 469 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.4266, allocations: 1.58 MB / 470.5 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4266, allocations: 16 kB / 470.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4266, allocations: 8 kB / 470.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4266, allocations: 11.97 kB / 470.6 MB, free: 5.973 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.004277/0.4309, allocations: 3.216 MB / 473.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.4309, allocations: 0 / 473.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.4321, allocations: 292.4 kB / 474.1 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.4333, allocations: 456.2 kB / 474.5 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.4334, allocations: 35.94 kB / 474.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005277/0.4387, allocations: 3.707 MB / 478.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4387, allocations: 0 / 478.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/0.4426, allocations: 2.198 MB / 480.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008883/0.4435, allocations: 319.1 kB / 480.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.4437, allocations: 24 kB / 480.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.4445, allocations: 55.67 kB / 480.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.4447, allocations: 97.03 kB / 480.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.4448, allocations: 39.98 kB / 481 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009247/0.4457, allocations: 0.6688 MB / 481.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4457, allocations: 0 / 481.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001928/0.4477, allocations: 0.5401 MB / 482.2 MB, free: 10.08 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 (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.004134/0.4518, allocations: 2.876 MB / 485.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004173/0.456, allocations: 2.519 MB / 487.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.456, allocations: 4.125 kB / 487.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.4577, allocations: 0.9568 MB / 488.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4588, allocations: 158 kB / 488.7 MB, free: 3.43 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.009334/0.4682, allocations: 12.67 MB / 0.4896 GB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009816/0.4692, allocations: 1.246 MB / 0.4908 GB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009599/0.4702, allocations: 195.5 kB / 0.491 GB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007203/0.4709, allocations: 0.55 MB / 0.4916 GB, free: 4.418 MB / 350.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4709, allocations: 0 / 0.4916 GB, free: 4.418 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).