Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids_Examples_ENTSOE_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.ENTSOE.SteadyState,fileNamePrefix="PowerGrids_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.001081/0.001081, allocations: 103.1 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.001152/0.001152, allocations: 173.3 kB / 15.95 MB, free: 212 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.578/1.578, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06094/0.06094, allocations: 14.15 MB / 284.5 MB, free: 7.148 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.0005026/0.0005027, allocations: 12 kB / 348.9 MB, free: 17.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 51.11 MB / 400 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.SteadyState): time 0.01405/0.1242, allocations: 13.51 MB / 413.5 MB, free: 460 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.1371, allocations: 6.407 MB / 419.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.1402, allocations: 63.62 kB / 420 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.1424, allocations: 0.5511 MB / 420.5 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007166/0.1496, allocations: 2.251 MB / 422.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.1526, allocations: 1.134 MB / 423.9 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007167/0.1598, allocations: 3.39 MB / 427.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.1609, allocations: 0.5734 MB / 427.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.1636, allocations: 1.315 MB / 429.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2119/0.3756, allocations: 1.345 MB / 430.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007668/0.3764, allocations: 92.59 kB / 430.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.3785, allocations: 455.8 kB / 431.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.3789, allocations: 383.3 kB / 431.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000894/0.3798, allocations: 0.532 MB / 432 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004529/0.3843, allocations: 2.864 MB / 434.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3843, allocations: 3.375 kB / 434.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3843, allocations: 0 / 434.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.3844, allocations: 1.188 kB / 434.9 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.01291/0.3974, allocations: 3.594 MB / 438.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3974, allocations: 13.89 kB / 438.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009213/0.3983, allocations: 277.6 kB / 438.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.4003, allocations: 411.1 kB / 439.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/0.4042, allocations: 1.712 MB / 440.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.4044, allocations: 166.5 kB / 441 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/0.4047, allocations: 225.8 kB / 441.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/0.4088, allocations: 2.089 MB / 443.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.4089, allocations: 4.969 kB / 443.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.409, allocations: 83.62 kB / 443.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.668e-05/0.4091, allocations: 50.77 kB / 443.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/0.4133, allocations: 1.969 MB / 445.4 MB, free: 11.8 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.01686/0.4302, allocations: 11.64 MB / 457.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/0.434, allocations: 2.683 MB / 459.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.85e-05/0.4341, allocations: 32.08 kB / 459.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.4341, allocations: 55.56 kB / 459.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=191): time 5.71e-06/0.4342, allocations: 0 / 459.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=192): time 0.0132/0.4474, allocations: 5.514 MB / 465.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.4475, allocations: 175.4 kB / 465.5 MB, free: 488 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.4499, allocations: 1.736 MB / 467.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.4501, allocations: 70.73 kB / 467.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007695/0.4509, allocations: 1.106 MB / 468.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000727/0.4517, allocations: 0.6786 MB / 469.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4518, allocations: 55.38 kB / 469.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.452, allocations: 408.4 kB / 469.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.4534, allocations: 0.799 MB / 470.4 MB, free: 14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.4554, allocations: 1.437 MB / 471.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.4572, allocations: 0.9913 MB / 472.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.4572, allocations: 4 kB / 472.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.008472/0.4657, allocations: 3.689 MB / 476.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003041/0.4688, allocations: 6.541 MB / 483 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.527e-05/0.4689, allocations: 16 kB / 483 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004698/0.4736, allocations: 1.241 MB / 484.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.4761, allocations: 0.5286 MB / 484.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02664/0.5027, allocations: 21.15 MB / 0.4941 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/0.5059, allocations: 183.4 kB / 0.4943 GB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/0.5065, allocations: 99.98 kB / 0.4944 GB, free: 7.984 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5065, allocations: 4 kB / 0.4944 GB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007295/0.5138, allocations: 2.778 MB / 0.4971 GB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.144e-05/0.5139, allocations: 22.62 kB / 0.4971 GB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003474/0.5174, allocations: 0.9032 MB / 0.498 GB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.5198, allocations: 0.5394 MB / 0.4985 GB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/0.5377, allocations: 16.55 MB / 0.5147 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/0.5407, allocations: 123.6 kB / 0.5148 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004966/0.5412, allocations: 103.9 kB / 0.5149 GB, free: 1.793 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.002252/0.5435, allocations: 0.5522 MB / 0.5154 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000929/0.5444, allocations: 245.1 kB / 0.5157 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005079/0.5495, allocations: 2.141 MB / 0.5178 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.5496, allocations: 24 kB / 0.5178 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/0.5496, allocations: 4 kB / 0.5178 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.5496, allocations: 7.969 kB / 0.5178 GB, free: 14.85 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.008753/0.5584, allocations: 4.478 MB / 0.5222 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.5584, allocations: 0 / 0.5222 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.56, allocations: 337.3 kB / 0.5225 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.5614, allocations: 472.2 kB / 0.5229 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.5615, allocations: 36 kB / 0.523 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005871/0.5674, allocations: 3.723 MB / 0.5266 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5674, allocations: 0 / 0.5266 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005809/0.5733, allocations: 3.06 MB / 0.5296 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.5746, allocations: 446 kB / 0.53 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007205/0.5754, allocations: 36 kB / 0.5301 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/0.5772, allocations: 107.8 kB / 0.5302 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.5775, allocations: 132.2 kB / 0.5303 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-05/0.5776, allocations: 47.98 kB / 0.5303 GB, free: 1.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002131/0.5797, allocations: 1.112 MB / 0.5314 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5798, allocations: 4 kB / 0.5314 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004948/0.5847, allocations: 1.18 MB / 0.5326 GB, free: 15.5 MB / 414.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.005866/0.5906, allocations: 3.744 MB / 0.5362 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01112/0.6017, allocations: 6.647 MB / 0.5427 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6017, allocations: 0 / 0.5427 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.6042, allocations: 1.227 MB / 0.5439 GB, free: 3.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.6068, allocations: 350.3 kB / 0.5443 GB, free: 3.371 MB / 414.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.0159/0.6227, allocations: 17.07 MB / 0.5609 GB, free: 1.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.6241, allocations: 1.636 MB / 0.5625 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002097/0.6262, allocations: 345 kB / 0.5629 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.6275, allocations: 0.964 MB / 0.5638 GB, free: 14.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6276, allocations: 0 / 0.5638 GB, free: 14.95 MB / 446.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).