Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier,fileNamePrefix="PowerGrids_symb_jac_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.0009702/0.0009702, allocations: 96.27 kB / 15.7 MB, free: 472 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.0009777/0.0009776, allocations: 180.8 kB / 16.58 MB, free: 6.859 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.521/1.521, allocations: 205.4 MB / 222.7 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.05758/0.05758, allocations: 14.15 MB / 285.2 MB, free: 7.145 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.0005491/0.0005492, allocations: 16 kB / 349.6 MB, free: 17.13 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1031, allocations: 51.11 MB / 400.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier): time 0.009696/0.1128, allocations: 10.16 MB / 410.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008416/0.1213, allocations: 5.055 MB / 415.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.1227, allocations: 35.81 kB / 415.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.124, allocations: 465.5 kB / 416.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.129, allocations: 2.012 MB / 418.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1305, allocations: 0.6969 MB / 419.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004399/0.1349, allocations: 2.61 MB / 421.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.1353, allocations: 221.4 kB / 421.9 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.1368, allocations: 0.9809 MB / 422.9 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.1379, allocations: 1.035 MB / 423.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.138, allocations: 64 kB / 424 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.1391, allocations: 419.7 kB / 424.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.1393, allocations: 262.7 kB / 424.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.1396, allocations: 376.8 kB / 425 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.1414, allocations: 1.85 MB / 426.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1415, allocations: 0 / 426.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1415, allocations: 0 / 426.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.1415, allocations: 4 kB / 426.9 MB, free: 3.68 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.00817/0.1497, allocations: 2.636 MB / 429.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1497, allocations: 12.03 kB / 429.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000291/0.15, allocations: 186.1 kB / 429.7 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.1511, allocations: 281.6 kB / 430 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1989/0.35, allocations: 1.079 MB / 431.1 MB, free: 35.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3502, allocations: 107.6 kB / 431.2 MB, free: 35.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.3504, allocations: 140.3 kB / 431.3 MB, free: 35.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.3534, allocations: 1.26 MB / 432.6 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.3534, allocations: 4.922 kB / 432.6 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.3536, allocations: 51.94 kB / 432.6 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.137e-05/0.3536, allocations: 35.69 kB / 432.6 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.3563, allocations: 1.298 MB / 433.9 MB, free: 34.81 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.01012/0.3664, allocations: 8.475 MB / 442.4 MB, free: 27.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.3692, allocations: 2.125 MB / 444.5 MB, free: 26.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.521e-05/0.3693, allocations: 19.83 kB / 444.6 MB, free: 26.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3693, allocations: 46.88 kB / 444.6 MB, free: 26.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 3.717e-06/0.3693, allocations: 0 / 444.6 MB, free: 26.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=145): time 0.01134/0.3807, allocations: 4.122 MB / 448.7 MB, free: 24.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3808, allocations: 66.66 kB / 448.8 MB, free: 24.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.3823, allocations: 1.064 MB / 449.9 MB, free: 24.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.3824, allocations: 56.61 kB / 449.9 MB, free: 23.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.3828, allocations: 0.6628 MB / 450.6 MB, free: 23.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.3832, allocations: 0.5069 MB / 451.1 MB, free: 22.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.3833, allocations: 40.47 kB / 451.1 MB, free: 22.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3834, allocations: 390.3 kB / 451.5 MB, free: 22.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009013/0.3843, allocations: 0.5632 MB / 452.1 MB, free: 22.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.3854, allocations: 0.9966 MB / 453.1 MB, free: 21.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.3866, allocations: 0.7277 MB / 453.8 MB, free: 21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.3866, allocations: 3.656 kB / 453.8 MB, free: 21 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004476/0.3911, allocations: 2.348 MB / 456.1 MB, free: 19.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.3911, allocations: 12.44 kB / 456.2 MB, free: 19.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.3911, allocations: 11.88 kB / 456.2 MB, free: 19.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.3937, allocations: 0.7465 MB / 456.9 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.3955, allocations: 498.5 kB / 457.4 MB, free: 19.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009197/0.4047, allocations: 11.5 MB / 468.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.4066, allocations: 121.3 kB / 469 MB, free: 8.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.4068, allocations: 79.23 kB / 469.1 MB, free: 8.219 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.0006586/0.4075, allocations: 362.5 kB / 469.5 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.4077, allocations: 158.1 kB / 469.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.4102, allocations: 1.58 MB / 471.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4103, allocations: 15.94 kB / 471.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4103, allocations: 8 kB / 471.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.4103, allocations: 11.97 kB / 471.2 MB, free: 6.086 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.004339/0.4146, allocations: 3.209 MB / 474.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4147, allocations: 0 / 474.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.4158, allocations: 291.6 kB / 474.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.4171, allocations: 464.1 kB / 475.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.4171, allocations: 27.95 kB / 475.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005025/0.4222, allocations: 3.707 MB / 478.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4222, allocations: 0 / 478.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03046/0.4527, allocations: 14.81 MB / 493.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/0.4533, allocations: 327.1 kB / 494 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.4535, allocations: 20 kB / 494.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008134/0.4543, allocations: 51.69 kB / 494.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.4546, allocations: 97.16 kB / 494.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.4547, allocations: 32.09 kB / 494.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009797/0.4557, allocations: 0.6804 MB / 494.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4557, allocations: 0 / 494.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002325/0.458, allocations: 0.7277 MB / 495.6 MB, free: 13.09 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 {(9,48.1%) 27} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004253/0.4623, allocations: 2.868 MB / 498.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004318/0.4666, allocations: 2.529 MB / 0.4893 GB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4667, allocations: 0 / 0.4893 GB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.4685, allocations: 0.9516 MB / 0.4902 GB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4696, allocations: 158.2 kB / 0.4904 GB, free: 6.445 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.01349/0.4831, allocations: 13.87 MB / 0.5039 GB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.4842, allocations: 1.291 MB / 0.5052 GB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001138/0.4854, allocations: 207.5 kB / 0.5054 GB, free: 6.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007774/0.4862, allocations: 0.554 MB / 0.5059 GB, free: 6.145 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4862, allocations: 0 / 0.5059 GB, free: 6.145 MB / 366.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).