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.0007478/0.000748, allocations: 90.75 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.000779/0.0007791, 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.454/1.454, allocations: 205.4 MB / 222.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0774/0.0774, allocations: 14.18 MB / 284.6 MB, free: 6.996 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.0004825/0.0004825, allocations: 19.98 kB / 349 MB, free: 17.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08676, allocations: 51.12 MB / 400.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier): time 0.01009/0.0969, allocations: 11.14 MB / 411.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008497/0.1055, allocations: 5.073 MB / 416.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.1071, allocations: 31.88 kB / 416.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.1085, allocations: 473.4 kB / 416.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.1133, allocations: 1.853 MB / 418.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1148, allocations: 0.7087 MB / 419.4 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004223/0.119, allocations: 3.539 MB / 422.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004215/0.1194, allocations: 221.4 kB / 423.1 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.1208, allocations: 0.9372 MB / 424.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.1218, allocations: 1.046 MB / 425.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.122, allocations: 68 kB / 425.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000995/0.123, allocations: 435.7 kB / 425.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.1232, allocations: 262.5 kB / 425.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.1236, allocations: 368.8 kB / 426.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.1253, allocations: 1.882 MB / 428.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1253, allocations: 0 / 428.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1253, allocations: 0 / 428.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.1254, allocations: 0 / 428.1 MB, free: 1.766 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.1759/0.3013, allocations: 2.635 MB / 430.7 MB, free: 35.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.473e-05/0.3014, allocations: 13.03 kB / 430.7 MB, free: 35.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007322/0.3021, allocations: 187.7 kB / 430.9 MB, free: 35.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.3033, allocations: 278 kB / 431.2 MB, free: 35.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.3051, allocations: 1.085 MB / 432.3 MB, free: 35.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/0.3052, allocations: 109.7 kB / 432.4 MB, free: 35.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.3054, allocations: 143.9 kB / 432.5 MB, free: 35.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.3076, allocations: 1.27 MB / 433.8 MB, free: 35.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.3076, allocations: 2.938 kB / 433.8 MB, free: 35.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.49e-05/0.3077, allocations: 55.34 kB / 433.9 MB, free: 35.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.3078, allocations: 30.75 kB / 433.9 MB, free: 35.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.31, allocations: 1.301 MB / 435.2 MB, free: 34.59 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.008526/0.3185, allocations: 8.37 MB / 443.6 MB, free: 27.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.3207, allocations: 2.106 MB / 445.7 MB, free: 26.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/0.3216, allocations: 0.5193 MB / 446.2 MB, free: 25.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.609e-05/0.3217, allocations: 20.2 kB / 446.2 MB, free: 25.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3217, allocations: 48.19 kB / 446.3 MB, free: 25.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 3.316e-06/0.3217, allocations: 1.375 kB / 446.3 MB, free: 25.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=145): time 0.009979/0.3317, allocations: 4.262 MB / 450.5 MB, free: 23.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3318, allocations: 78.91 kB / 450.6 MB, free: 23.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.3329, allocations: 1.067 MB / 451.7 MB, free: 23.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.333, allocations: 56.27 kB / 451.7 MB, free: 23.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.3333, allocations: 0.6599 MB / 452.4 MB, free: 22.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.3336, allocations: 0.5119 MB / 452.9 MB, free: 22.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.3337, allocations: 40.25 kB / 452.9 MB, free: 22.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.3338, allocations: 383.4 kB / 453.3 MB, free: 21.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/0.3347, allocations: 0.5559 MB / 453.9 MB, free: 21.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.3357, allocations: 1.014 MB / 454.9 MB, free: 20.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.3367, allocations: 0.7237 MB / 455.6 MB, free: 20.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3367, allocations: 7.969 kB / 455.6 MB, free: 20.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.003696/0.3404, allocations: 2.344 MB / 457.9 MB, free: 18.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3404, allocations: 11.12 kB / 458 MB, free: 18.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.3405, allocations: 12.88 kB / 458 MB, free: 18.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005272/0.3457, allocations: 1.183 MB / 459.2 MB, free: 18.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.3474, allocations: 477.1 kB / 459.6 MB, free: 18.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008828/0.3562, allocations: 12.48 MB / 472.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.358, allocations: 115.3 kB / 472.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/0.3581, allocations: 79.98 kB / 472.3 MB, free: 4.629 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.0005574/0.3586, allocations: 365.5 kB / 472.6 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.3588, allocations: 158.1 kB / 472.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.3613, allocations: 1.572 MB / 474.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3613, allocations: 15.95 kB / 474.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3613, allocations: 8 kB / 474.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.3613, allocations: 7.969 kB / 474.4 MB, free: 2.48 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.004151/0.3655, allocations: 3.226 MB / 477.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3655, allocations: 0 / 477.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.3666, allocations: 259.7 kB / 477.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009726/0.3676, allocations: 276.5 kB / 478.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.3677, allocations: 27.98 kB / 478.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005982/0.3737, allocations: 3.821 MB / 482 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3737, allocations: 4 kB / 482 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/0.3777, allocations: 2.194 MB / 484.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009018/0.3786, allocations: 319 kB / 484.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.3788, allocations: 28 kB / 484.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007445/0.3795, allocations: 47.77 kB / 484.6 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.3797, allocations: 101.1 kB / 484.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.974e-05/0.3798, allocations: 39.98 kB / 484.7 MB, free: 7.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001269/0.3811, allocations: 0.6649 MB / 485.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3811, allocations: 4 kB / 485.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001857/0.383, allocations: 0.5167 MB / 485.9 MB, free: 6.707 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 {(36,8.0%) 0} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004299/0.3873, allocations: 2.867 MB / 488.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004936/0.3923, allocations: 2.774 MB / 491.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3923, allocations: 0 / 491.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.3947, allocations: 1.234 MB / 492.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.3963, allocations: 184.6 kB / 493 MB, free: 15.52 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.01895/0.4153, allocations: 9.426 MB / 0.4906 GB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.4164, allocations: 1.219 MB / 0.4918 GB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.4174, allocations: 195.5 kB / 0.492 GB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008765/0.4183, allocations: 0.554 MB / 0.4925 GB, free: 3.645 MB / 350.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4184, allocations: 7.875 kB / 0.4925 GB, free: 3.637 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).