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.0008389/0.0008393, allocations: 91.22 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.000776/0.000776, 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.443/1.443, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06083/0.06083, allocations: 14.17 MB / 284.6 MB, free: 7.133 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.0005236/0.0005237, allocations: 19.98 kB / 349 MB, free: 17.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1015, allocations: 51.12 MB / 400.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends): time 0.01225/0.1138, allocations: 11.16 MB / 411.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008583/0.1224, allocations: 5.077 MB / 416.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.1241, allocations: 31.88 kB / 416.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.126, allocations: 477.4 kB / 416.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005716/0.1317, allocations: 1.861 MB / 418.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.1335, allocations: 0.705 MB / 419.4 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004953/0.1385, allocations: 3.539 MB / 422.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007199/0.1392, allocations: 221.4 kB / 423.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.1412, allocations: 0.9488 MB / 424.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.1434, allocations: 1.039 MB / 425.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000517/0.1439, allocations: 72 kB / 425.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.1459, allocations: 431.6 kB / 425.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004796/0.1464, allocations: 262.6 kB / 425.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009214/0.1473, allocations: 372.8 kB / 426.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.1501, allocations: 1.866 MB / 428.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1501, allocations: 0 / 428.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1501, allocations: 7.938 kB / 428.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.138e-05/0.1502, allocations: 0 / 428.1 MB, free: 1.758 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.2034/0.3535, allocations: 2.638 MB / 430.8 MB, free: 36.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3536, allocations: 10.16 kB / 430.8 MB, free: 36.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004673/0.3541, allocations: 188.6 kB / 430.9 MB, free: 35.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.3554, allocations: 275.9 kB / 431.2 MB, free: 35.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.3577, allocations: 1.086 MB / 432.3 MB, free: 35.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/0.3578, allocations: 105.4 kB / 432.4 MB, free: 35.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.358, allocations: 146.2 kB / 432.6 MB, free: 35.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.3604, allocations: 1.275 MB / 433.8 MB, free: 35.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.3604, allocations: 1.156 kB / 433.8 MB, free: 35.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/0.3605, allocations: 56.09 kB / 433.9 MB, free: 35.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.3605, allocations: 31.09 kB / 433.9 MB, free: 35.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.3627, allocations: 1.301 MB / 435.2 MB, free: 34.64 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.008603/0.3713, allocations: 8.355 MB / 443.6 MB, free: 27.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.3739, allocations: 2.103 MB / 445.7 MB, free: 26.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00084/0.3747, allocations: 0.536 MB / 446.2 MB, free: 26.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.433e-05/0.3748, allocations: 18.09 kB / 446.2 MB, free: 26.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3749, allocations: 51.19 kB / 446.3 MB, free: 25.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 3.547e-06/0.3749, allocations: 0 / 446.3 MB, free: 25.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=145): time 0.01074/0.3856, allocations: 4.266 MB / 450.5 MB, free: 23.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3857, allocations: 74.42 kB / 450.6 MB, free: 23.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.387, allocations: 1.061 MB / 451.7 MB, free: 23.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-05/0.3871, allocations: 55.39 kB / 451.7 MB, free: 23.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.3875, allocations: 0.6636 MB / 452.4 MB, free: 22.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.3879, allocations: 0.5094 MB / 452.9 MB, free: 22.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.388, allocations: 39.06 kB / 452.9 MB, free: 22.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3881, allocations: 387.4 kB / 453.3 MB, free: 21.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009545/0.389, allocations: 0.556 MB / 453.9 MB, free: 21.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.3901, allocations: 1.011 MB / 454.9 MB, free: 20.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.3912, allocations: 0.7239 MB / 455.6 MB, free: 20.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.3912, allocations: 7.969 kB / 455.6 MB, free: 20.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.003977/0.3952, allocations: 2.346 MB / 458 MB, free: 18.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3952, allocations: 15.84 kB / 458 MB, free: 18.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.3952, allocations: 11.88 kB / 458 MB, free: 18.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/0.4007, allocations: 1.178 MB / 459.2 MB, free: 18.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.4023, allocations: 482.2 kB / 459.6 MB, free: 18.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009098/0.4114, allocations: 12.48 MB / 472.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.4129, allocations: 107.4 kB / 472.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.4131, allocations: 81.55 kB / 472.3 MB, free: 4.641 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.0005888/0.4137, allocations: 374.1 kB / 472.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.414, allocations: 154.1 kB / 472.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.4166, allocations: 1.584 MB / 474.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.4167, allocations: 15.95 kB / 474.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.4167, allocations: 8 kB / 474.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4167, allocations: 7.969 kB / 474.4 MB, free: 2.477 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.004661/0.4214, allocations: 3.217 MB / 477.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.4214, allocations: 0 / 477.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.4225, allocations: 259.7 kB / 477.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.4235, allocations: 272.5 kB / 478.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.504e-05/0.4236, allocations: 24 kB / 478.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006423/0.43, allocations: 3.811 MB / 482 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4301, allocations: 7.984 kB / 482 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/0.4341, allocations: 2.192 MB / 484.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009361/0.4351, allocations: 323 kB / 484.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003561/0.4354, allocations: 31.98 kB / 484.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009827/0.4364, allocations: 51.91 kB / 484.6 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.4366, allocations: 97.16 kB / 484.7 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/0.4367, allocations: 32 kB / 484.7 MB, free: 7.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00107/0.4378, allocations: 0.6687 MB / 485.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4378, allocations: 0 / 485.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002077/0.4399, allocations: 0.5167 MB / 485.9 MB, free: 6.73 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.004347/0.4442, allocations: 2.87 MB / 488.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005124/0.4494, allocations: 2.774 MB / 491.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.4494, allocations: 4.125 kB / 491.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002408/0.4518, allocations: 1.237 MB / 492.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.4531, allocations: 184.7 kB / 493 MB, free: 15.53 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.01889/0.472, allocations: 9.408 MB / 0.4906 GB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.4732, allocations: 1.223 MB / 0.4918 GB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009627/0.4742, allocations: 195.6 kB / 0.492 GB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/0.475, allocations: 0.554 MB / 0.4925 GB, free: 3.664 MB / 350.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4751, allocations: 7.938 kB / 0.4925 GB, free: 3.656 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).