Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.SteadyState.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.ENTSOE.SteadyState,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Examples_ENTSOE_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.ENTSOE.SteadyState,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Examples_ENTSOE_SteadyState",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.0009066/0.0009065, allocations: 95.33 kB / 15.69 MB, free: 480 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.0009343/0.0009343, allocations: 179.1 kB / 16.57 MB, free: 6.391 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.43/1.43, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.08601/0.08601, allocations: 14.17 MB / 285.2 MB, free: 7.156 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.0005701/0.0005702, allocations: 15.98 kB / 349.5 MB, free: 17.14 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1048, allocations: 51.1 MB / 400.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.SteadyState): time 0.01321/0.118, allocations: 13.5 MB / 414.1 MB, free: 452 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.1292, allocations: 6.411 MB / 420.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/0.132, allocations: 63.62 kB / 420.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.134, allocations: 0.555 MB / 421.2 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006697/0.1407, allocations: 2.259 MB / 423.4 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.1433, allocations: 1.125 MB / 424.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006101/0.1494, allocations: 3.383 MB / 427.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.1505, allocations: 0.5812 MB / 428.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.153, allocations: 1.311 MB / 429.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1893/0.3423, allocations: 1.348 MB / 431.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007838/0.3431, allocations: 96.22 kB / 431.3 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.3451, allocations: 447.2 kB / 431.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.3455, allocations: 387.8 kB / 432.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008925/0.3464, allocations: 0.5321 MB / 432.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.3512, allocations: 2.867 MB / 435.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3512, allocations: 3.281 kB / 435.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.3512, allocations: 0.875 kB / 435.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001365/0.3514, allocations: 0.9688 kB / 435.5 MB, free: 14.2 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: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01288/0.3642, allocations: 3.589 MB / 439.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.3643, allocations: 12.67 kB / 439.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008656/0.3652, allocations: 277.9 kB / 439.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.3671, allocations: 411.8 kB / 439.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004226/0.3714, allocations: 1.722 MB / 441.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.3715, allocations: 165 kB / 441.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/0.3719, allocations: 225.7 kB / 441.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/0.3762, allocations: 2.086 MB / 444 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.3762, allocations: 5.688 kB / 444 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.3764, allocations: 83.28 kB / 444 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-05/0.3765, allocations: 49.16 kB / 444.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/0.3804, allocations: 1.967 MB / 446.1 MB, free: 11.79 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.01637/0.3968, allocations: 11.64 MB / 457.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/0.4006, allocations: 2.689 MB / 460.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.783e-05/0.4008, allocations: 26.28 kB / 460.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.4008, allocations: 64.59 kB / 460.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=191): time 3.597e-06/0.4008, allocations: 0 / 460.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=192): time 0.01354/0.4144, allocations: 5.504 MB / 466 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.4145, allocations: 179.4 kB / 466.2 MB, free: 480 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.4171, allocations: 1.74 MB / 467.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.4173, allocations: 67.8 kB / 468 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007695/0.4181, allocations: 1.107 MB / 469.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007313/0.4189, allocations: 0.6791 MB / 469.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.419, allocations: 50.31 kB / 469.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.4192, allocations: 406 kB / 470.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.4207, allocations: 0.8051 MB / 471 MB, free: 13.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.4227, allocations: 1.437 MB / 472.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.4246, allocations: 0.9882 MB / 473.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.4246, allocations: 4 kB / 473.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.008668/0.4333, allocations: 3.688 MB / 477.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002819/0.4362, allocations: 6.542 MB / 483.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/0.4362, allocations: 16 kB / 483.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004693/0.4409, allocations: 1.249 MB / 484.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.4434, allocations: 0.5268 MB / 485.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0245/0.4679, allocations: 21.15 MB / 0.4947 GB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.4709, allocations: 183.4 kB / 0.4949 GB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/0.4712, allocations: 99.98 kB / 0.495 GB, free: 7.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.4712, allocations: 4 kB / 0.495 GB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005916/0.4771, allocations: 2.789 MB / 0.4977 GB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/0.4772, allocations: 16 kB / 0.4977 GB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003387/0.4806, allocations: 0.8997 MB / 0.4986 GB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.4828, allocations: 0.5396 MB / 0.4991 GB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/0.4995, allocations: 16.55 MB / 0.5153 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.5023, allocations: 119.6 kB / 0.5154 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004421/0.5028, allocations: 107.9 kB / 0.5155 GB, free: 1.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 5 (PSS.firstWashoutVsi2.integrator.local_reset,PSS.secondWashoutVsi1.integrator.local_reset,PSS.firstWashoutVsi1.integrator.local_reset,AVR.firstOrderLim.I.local_reset,TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 4 {5 33,1 1,1 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001648/0.5045, allocations: 0.5502 MB / 0.5161 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000638/0.5051, allocations: 237.1 kB / 0.5163 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.5094, allocations: 2.151 MB / 0.5184 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.5095, allocations: 23.98 kB / 0.5184 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5095, allocations: 4 kB / 0.5184 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.5095, allocations: 11.97 kB / 0.5184 GB, free: 14.8 MB / 398.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.008055/0.5176, allocations: 4.469 MB / 0.5228 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5176, allocations: 0 / 0.5228 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.5192, allocations: 343.2 kB / 0.5231 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.5206, allocations: 472.2 kB / 0.5236 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.5207, allocations: 40 kB / 0.5236 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/0.5265, allocations: 3.715 MB / 0.5272 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5265, allocations: 4 kB / 0.5272 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04472/0.5712, allocations: 20.59 MB / 0.5474 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009407/0.5722, allocations: 445.9 kB / 0.5478 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/0.5725, allocations: 40 kB / 0.5478 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.5737, allocations: 103.9 kB / 0.5479 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/0.5741, allocations: 129.8 kB / 0.548 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/0.5742, allocations: 52 kB / 0.5481 GB, free: 28 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001823/0.576, allocations: 1.111 MB / 0.5492 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.576, allocations: 0 / 0.5492 GB, free: 14.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005549/0.5815, allocations: 1.703 MB / 0.5508 GB, free: 13.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (GEN.theta,GEN.omegaPu,GEN.lambdaDPu,GEN.lambdafPu,GEN.lambdaQ1Pu,GEN.lambdaQ2Pu,TGOV.firstOrderLim.I.y,TGOV.leadLag.firstOrder.y,AVR.leadLag.firstOrder.y,AVR.firstOrderLim.I.y,PSS.firstWashoutVsi1.integrator.y,PSS.secondWashoutVsi1.integrator.y,PSS.firstWashoutVsi2.integrator.y,PSS.leadLag1.firstOrder.y,PSS.leadLag2.firstOrder.y,PSS.firstOrderVsi2.firstOrder1.y) * 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 (159): * Single equations (assignments): 158 * 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.005956/0.5875, allocations: 3.753 MB / 0.5545 GB, free: 9.465 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01135/0.5989, allocations: 6.651 MB / 0.561 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5989, allocations: 0 / 0.561 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002455/0.6014, allocations: 1.227 MB / 0.5622 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.6036, allocations: 354.7 kB / 0.5625 GB, free: 1.055 MB / 430.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.01596/0.6196, allocations: 18.5 MB / 0.5806 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.621, allocations: 1.687 MB / 0.5823 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002013/0.6231, allocations: 365 kB / 0.5826 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.6244, allocations: 0.9679 MB / 0.5835 GB, free: 11.1 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6244, allocations: 0 / 0.5835 GB, free: 11.1 MB / 462.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).