Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends,fileNamePrefix="PowerGrids_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.0009845/0.0009846, allocations: 99.62 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.001155/0.001155, allocations: 177.3 kB / 15.95 MB, free: 216 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.475/1.475, 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.05839/0.05839, allocations: 14.17 MB / 284.5 MB, free: 7.137 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.0006352/0.0006353, allocations: 14.81 kB / 348.9 MB, free: 17.13 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.108, allocations: 51.12 MB / 400 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends): time 0.009808/0.1178, allocations: 10.17 MB / 410.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009413/0.1273, allocations: 5.051 MB / 415.2 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.1291, allocations: 35.81 kB / 415.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.1307, allocations: 473.4 kB / 415.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006019/0.1367, allocations: 2.011 MB / 417.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.1383, allocations: 0.7086 MB / 418.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004929/0.1432, allocations: 2.599 MB / 421.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.1437, allocations: 221.4 kB / 421.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.1453, allocations: 0.9848 MB / 422.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.1466, allocations: 1.031 MB / 423.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.1467, allocations: 64 kB / 423.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.1479, allocations: 423.6 kB / 423.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.1481, allocations: 254.8 kB / 424 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.1485, allocations: 372.8 kB / 424.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.1505, allocations: 1.854 MB / 426.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1505, allocations: 0 / 426.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1505, allocations: 0 / 426.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1505, allocations: 0 / 426.2 MB, free: 3.664 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.008265/0.1588, allocations: 2.644 MB / 428.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1588, allocations: 8.031 kB / 428.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/0.1591, allocations: 182.1 kB / 429.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.1602, allocations: 285.6 kB / 429.3 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2056/0.3658, allocations: 1.084 MB / 430.4 MB, free: 35.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.366, allocations: 110.8 kB / 430.5 MB, free: 35.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.3663, allocations: 145.1 kB / 430.7 MB, free: 35.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.3688, allocations: 1.258 MB / 431.9 MB, free: 35.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.3689, allocations: 4.578 kB / 431.9 MB, free: 35.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.369, allocations: 53.55 kB / 432 MB, free: 35.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/0.369, allocations: 31.5 kB / 432 MB, free: 35.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.3715, allocations: 1.301 MB / 433.3 MB, free: 34.78 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.01165/0.3832, allocations: 8.453 MB / 441.8 MB, free: 27.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.3859, allocations: 2.131 MB / 443.9 MB, free: 26.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.965e-05/0.386, allocations: 17.59 kB / 443.9 MB, free: 26.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.386, allocations: 50.97 kB / 444 MB, free: 26.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 3.537e-06/0.3861, allocations: 3.688 kB / 444 MB, free: 26.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=145): time 0.01127/0.3973, allocations: 4.124 MB / 448.1 MB, free: 24.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.3974, allocations: 66.38 kB / 448.2 MB, free: 24.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.3989, allocations: 1.057 MB / 449.2 MB, free: 23.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.902e-05/0.399, allocations: 55.2 kB / 449.3 MB, free: 23.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.3994, allocations: 0.6636 MB / 449.9 MB, free: 23.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.3998, allocations: 0.5097 MB / 450.5 MB, free: 22.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.3998, allocations: 44.75 kB / 450.5 MB, free: 22.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3999, allocations: 383.2 kB / 450.9 MB, free: 22.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009147/0.4009, allocations: 0.5668 MB / 451.4 MB, free: 22.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.4019, allocations: 1.001 MB / 452.4 MB, free: 21.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.4031, allocations: 0.7275 MB / 453.2 MB, free: 20.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.4031, allocations: 3.156 kB / 453.2 MB, free: 20.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004495/0.4076, allocations: 2.337 MB / 455.5 MB, free: 19.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4077, allocations: 11.81 kB / 455.5 MB, free: 19.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.4077, allocations: 11.78 kB / 455.5 MB, free: 19.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/0.4104, allocations: 0.7467 MB / 456.3 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.4123, allocations: 0.489 MB / 456.8 MB, free: 19.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00983/0.4222, allocations: 11.5 MB / 468.3 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.4243, allocations: 105.9 kB / 468.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/0.4246, allocations: 82.55 kB / 468.5 MB, free: 8.227 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.0009517/0.4256, allocations: 366.7 kB / 468.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/0.4261, allocations: 154.1 kB / 469 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.4289, allocations: 1.58 MB / 470.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4289, allocations: 15.94 kB / 470.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.429, allocations: 16 kB / 470.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.429, allocations: 7.969 kB / 470.6 MB, free: 6.074 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.004753/0.4337, allocations: 3.217 MB / 473.8 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.4338, allocations: 0 / 473.8 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.435, allocations: 287.6 kB / 474.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.4362, allocations: 464.1 kB / 474.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.904e-05/0.4363, allocations: 31.94 kB / 474.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005403/0.4418, allocations: 3.707 MB / 478.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4418, allocations: 0 / 478.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/0.4462, allocations: 2.198 MB / 480.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/0.4471, allocations: 315.1 kB / 480.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.4475, allocations: 28 kB / 480.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.4486, allocations: 47.69 kB / 480.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.4489, allocations: 105 kB / 481 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.788e-05/0.4489, allocations: 36 kB / 481 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.4503, allocations: 0.6648 MB / 481.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4503, allocations: 0 / 481.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002537/0.4529, allocations: 0.5363 MB / 482.2 MB, free: 10.19 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.004802/0.4577, allocations: 2.88 MB / 485.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004656/0.4624, allocations: 2.529 MB / 487.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4624, allocations: 4.25 kB / 487.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.4646, allocations: 0.9491 MB / 488.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.466, allocations: 156.7 kB / 488.7 MB, free: 3.539 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.01277/0.4788, allocations: 12.67 MB / 0.4896 GB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.48, allocations: 1.242 MB / 0.4908 GB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.4811, allocations: 195.6 kB / 0.491 GB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000891/0.482, allocations: 0.55 MB / 0.4916 GB, free: 4.531 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.482, allocations: 0 / 0.4916 GB, free: 4.531 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).