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.001268/0.001268, allocations: 88.17 kB / 15.71 MB, free: 452 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.001955/0.001956, allocations: 174 kB / 16.59 MB, free: 6.855 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.681/1.681, allocations: 205.4 MB / 222.8 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1033/0.1033, allocations: 14.17 MB / 285.2 MB, free: 7.094 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.000541/0.0005411, allocations: 12 kB / 349.6 MB, free: 17.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 51.12 MB / 400.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.SteadyState): time 0.0171/0.1267, allocations: 14.54 MB / 415.3 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.1396, allocations: 6.432 MB / 421.7 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.1436, allocations: 71.62 kB / 421.8 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.1465, allocations: 0.6015 MB / 422.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007381/0.1539, allocations: 2.008 MB / 424.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.1573, allocations: 1.106 MB / 425.5 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008218/0.1655, allocations: 4.685 MB / 430.2 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2421/0.4077, allocations: 0.5757 MB / 430.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.411, allocations: 1.246 MB / 432 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003735/0.4148, allocations: 1.378 MB / 433.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008299/0.4157, allocations: 92.12 kB / 433.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.4182, allocations: 463.2 kB / 433.9 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005859/0.4188, allocations: 388.9 kB / 434.3 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.4203, allocations: 0.5333 MB / 434.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.4257, allocations: 2.891 MB / 437.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.4257, allocations: 6.141 kB / 437.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4257, allocations: 0 / 437.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001787/0.4259, allocations: 0 / 437.7 MB, free: 14.14 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.01225/0.4382, allocations: 3.588 MB / 441.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4383, allocations: 13.02 kB / 441.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009715/0.4392, allocations: 284.4 kB / 441.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.4413, allocations: 411.6 kB / 442 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.4457, allocations: 1.72 MB / 443.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.4459, allocations: 165.7 kB / 443.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005239/0.4464, allocations: 219.4 kB / 444.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.4508, allocations: 2.106 MB / 446.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.4509, allocations: 7.312 kB / 446.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.451, allocations: 86.44 kB / 446.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/0.4511, allocations: 48.84 kB / 446.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.4557, allocations: 1.966 MB / 448.3 MB, free: 11.73 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.0162/0.4719, allocations: 11.55 MB / 459.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/0.4755, allocations: 2.681 MB / 462.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.4767, allocations: 0.8232 MB / 463.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.4768, allocations: 30.42 kB / 463.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.4768, allocations: 54.06 kB / 463.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=191): time 4.168e-06/0.4768, allocations: 0 / 463.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=192): time 0.01337/0.4902, allocations: 5.659 MB / 469.1 MB, free: 180 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/0.4903, allocations: 179.9 kB / 469.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.4931, allocations: 1.74 MB / 471 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000246/0.4934, allocations: 68.33 kB / 471.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.4944, allocations: 1.109 MB / 472.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007914/0.4952, allocations: 0.6768 MB / 472.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4953, allocations: 52 kB / 472.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.4956, allocations: 407.4 kB / 473.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.4971, allocations: 0.7978 MB / 474.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.499, allocations: 1.449 MB / 475.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.5008, allocations: 1 MB / 476.6 MB, free: 8.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.5008, allocations: 4 kB / 476.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.00795/0.5088, allocations: 3.687 MB / 480.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004553/0.5092, allocations: 0.5572 MB / 480.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.5093, allocations: 17.5 kB / 480.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007699/0.517, allocations: 1.641 MB / 482.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.5193, allocations: 0.5308 MB / 483 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02487/0.5441, allocations: 20.84 MB / 0.492 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.5473, allocations: 178.2 kB / 0.4922 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.5475, allocations: 104 kB / 0.4923 GB, free: 11.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.425e-06/0.5475, allocations: 4 kB / 0.4923 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005598/0.5531, allocations: 2.786 MB / 0.495 GB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.5531, allocations: 16 kB / 0.495 GB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006882/0.56, allocations: 1.459 MB / 0.4965 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.5622, allocations: 0.5382 MB / 0.497 GB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/0.5796, allocations: 17.56 MB / 0.5141 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.582, allocations: 127.5 kB / 0.5143 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.5822, allocations: 108 kB / 0.5144 GB, free: 3.414 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): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0} * Non-linear torn systems: 6 {38 0,2 0,2 0,2 0,2 0,4 0} Notification: Performance of prepare postOptimizeDAE: time 0.001394/0.5836, allocations: 0.5495 MB / 0.5149 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005634/0.5842, allocations: 241.1 kB / 0.5151 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/0.5884, allocations: 2.149 MB / 0.5172 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.5884, allocations: 20 kB / 0.5172 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5884, allocations: 4 kB / 0.5172 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.5885, allocations: 7.969 kB / 0.5173 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007483/0.5959, allocations: 4.211 MB / 0.5214 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.596, allocations: 0 / 0.5214 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.5975, allocations: 345.7 kB / 0.5217 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.5987, allocations: 292.4 kB / 0.522 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.5988, allocations: 47.58 kB / 0.522 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005987/0.6048, allocations: 3.82 MB / 0.5257 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6048, allocations: 0 / 0.5257 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03714/0.6419, allocations: 19.17 MB / 0.5445 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.643, allocations: 449.9 kB / 0.5449 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.6433, allocations: 36 kB / 0.5449 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.6445, allocations: 107.9 kB / 0.545 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/0.6448, allocations: 134.1 kB / 0.5452 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/0.6449, allocations: 48 kB / 0.5452 GB, free: 3.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002128/0.647, allocations: 1.108 MB / 0.5463 GB, free: 2.352 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.647, allocations: 8 kB / 0.5463 GB, free: 2.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.008597/0.6556, allocations: 1.648 MB / 0.5479 GB, free: 0.6953 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 {(36,8.0%) 0} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00838/0.6641, allocations: 3.742 MB / 0.5516 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01428/0.6784, allocations: 7.597 MB / 0.559 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.6784, allocations: 4.062 kB / 0.559 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003443/0.6819, allocations: 1.515 MB / 0.5605 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/0.685, allocations: 385.7 kB / 0.5608 GB, free: 3.141 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.03875/0.7238, allocations: 17.95 MB / 0.5784 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/0.7255, allocations: 1.672 MB / 0.58 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003096/0.7286, allocations: 357 kB / 0.5803 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/0.7309, allocations: 0.9718 MB / 0.5813 GB, free: 12.88 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7309, allocations: 0 / 0.5813 GB, free: 12.88 MB / 462.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).