Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends,fileNamePrefix="PowerGrids_symb_jac_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.000888/0.000888, allocations: 92.78 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.001446/0.001446, allocations: 175.8 kB / 16.58 MB, free: 6.398 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.884/1.884, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06133/0.06133, allocations: 14.16 MB / 285.2 MB, free: 7.129 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.0005528/0.0005529, allocations: 12 kB / 349.6 MB, free: 17.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 51.12 MB / 400.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends): time 0.01196/0.1274, allocations: 11.16 MB / 411.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1375, allocations: 5.069 MB / 417 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.1399, allocations: 31.88 kB / 417 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.1423, allocations: 473.4 kB / 417.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007068/0.1494, allocations: 1.857 MB / 419.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1516, allocations: 0.7125 MB / 420 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006541/0.1581, allocations: 3.543 MB / 423.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008385/0.159, allocations: 221.4 kB / 423.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.1612, allocations: 0.941 MB / 424.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.1635, allocations: 1.043 MB / 425.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005307/0.164, allocations: 72 kB / 425.8 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.1661, allocations: 435.6 kB / 426.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000495/0.1666, allocations: 254.6 kB / 426.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.1677, allocations: 372.8 kB / 426.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.1709, allocations: 1.874 MB / 428.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1709, allocations: 0 / 428.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1709, allocations: 0 / 428.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.23e-05/0.171, allocations: 0 / 428.8 MB, free: 1.785 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.2438/0.4148, allocations: 2.636 MB / 431.4 MB, free: 35.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4149, allocations: 13.39 kB / 431.4 MB, free: 35.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006085/0.4155, allocations: 189.8 kB / 431.6 MB, free: 35.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.4168, allocations: 277.6 kB / 431.9 MB, free: 35.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.4191, allocations: 1.086 MB / 432.9 MB, free: 35.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.4193, allocations: 108.8 kB / 433.1 MB, free: 35.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.4195, allocations: 150.4 kB / 433.2 MB, free: 35.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.4221, allocations: 1.269 MB / 434.5 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.4222, allocations: 4.875 kB / 434.5 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.4223, allocations: 54.12 kB / 434.5 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.4223, allocations: 31.03 kB / 434.6 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.4248, allocations: 1.299 MB / 435.9 MB, free: 34.47 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.01006/0.4348, allocations: 8.36 MB / 444.2 MB, free: 27.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.4375, allocations: 2.105 MB / 446.3 MB, free: 26.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009872/0.4385, allocations: 0.526 MB / 446.8 MB, free: 25.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.4386, allocations: 19.05 kB / 446.9 MB, free: 25.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.4387, allocations: 50.48 kB / 446.9 MB, free: 25.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 3.327e-06/0.4387, allocations: 0 / 446.9 MB, free: 25.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=145): time 0.0115/0.4502, allocations: 4.265 MB / 451.2 MB, free: 23.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.4503, allocations: 76.95 kB / 451.3 MB, free: 23.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.4525, allocations: 1.06 MB / 452.3 MB, free: 23.03 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.4527, allocations: 56.55 kB / 452.4 MB, free: 22.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.4532, allocations: 0.664 MB / 453 MB, free: 22.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.4537, allocations: 0.5085 MB / 453.5 MB, free: 21.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.4539, allocations: 39.97 kB / 453.6 MB, free: 21.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.4541, allocations: 388.1 kB / 454 MB, free: 21.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.4558, allocations: 0.5559 MB / 454.5 MB, free: 21.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.4576, allocations: 1.01 MB / 455.5 MB, free: 20.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.4589, allocations: 0.7232 MB / 456.2 MB, free: 20.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.459, allocations: 7.938 kB / 456.3 MB, free: 20.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004455/0.4634, allocations: 2.348 MB / 458.6 MB, free: 18.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.4635, allocations: 11.88 kB / 458.6 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.4635, allocations: 11.88 kB / 458.6 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005331/0.4689, allocations: 1.18 MB / 459.8 MB, free: 18.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.4705, allocations: 482.9 kB / 460.3 MB, free: 18.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009519/0.4801, allocations: 12.48 MB / 472.8 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.4821, allocations: 111.4 kB / 472.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/0.4824, allocations: 83.98 kB / 472.9 MB, free: 4.539 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.0008984/0.4833, allocations: 361.4 kB / 473.3 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004838/0.4838, allocations: 162.1 kB / 473.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.4867, allocations: 1.579 MB / 475 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4867, allocations: 15.95 kB / 475.1 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.4867, allocations: 8 kB / 475.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.4868, allocations: 7.969 kB / 475.1 MB, free: 2.387 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.005512/0.4923, allocations: 3.212 MB / 478.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4923, allocations: 3.984 kB / 478.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.4935, allocations: 255.7 kB / 478.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.4946, allocations: 276.5 kB / 478.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.4947, allocations: 28 kB / 478.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006673/0.5014, allocations: 3.813 MB / 482.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5014, allocations: 4 kB / 482.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02942/0.5309, allocations: 13.71 MB / 496.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.532, allocations: 315.1 kB / 496.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/0.5325, allocations: 27.98 kB / 496.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.5336, allocations: 47.75 kB / 496.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/0.5339, allocations: 101.2 kB / 496.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.534, allocations: 36 kB / 496.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.5353, allocations: 0.6648 MB / 497.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5353, allocations: 0 / 497.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003148/0.5384, allocations: 0.6925 MB / 498.2 MB, free: 10.66 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.005534/0.544, allocations: 2.881 MB / 0.4894 GB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005523/0.5495, allocations: 2.782 MB / 0.4921 GB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5495, allocations: 0 / 0.4921 GB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.5522, allocations: 1.23 MB / 0.4933 GB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.5541, allocations: 182.2 kB / 0.4935 GB, free: 3.461 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.02584/0.58, allocations: 10.9 MB / 0.5041 GB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/0.582, allocations: 1.279 MB / 0.5054 GB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001362/0.5833, allocations: 215.5 kB / 0.5056 GB, free: 6.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/0.5845, allocations: 0.554 MB / 0.5061 GB, free: 5.992 MB / 366.1 MB Notification: Performance of SimCode: time 1.273e-06/0.5846, allocations: 0 / 0.5061 GB, free: 5.992 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).