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.0007626/0.0007625, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007969/0.0007971, allocations: 168.7 kB / 15.95 MB, free: 204 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.3/1.3, allocations: 205.4 MB / 222.1 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.05964/0.05964, allocations: 14.16 MB / 284.6 MB, free: 7.133 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.0005244/0.0005245, allocations: 19.98 kB / 349 MB, free: 17.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08814/0.08868, allocations: 51.12 MB / 400.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.SteadyState): time 0.01248/0.1012, allocations: 14.54 MB / 414.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.1125, allocations: 6.428 MB / 421 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.1157, allocations: 67.62 kB / 421.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003016/0.1188, allocations: 0.6015 MB / 421.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00705/0.1259, allocations: 2.007 MB / 423.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.1291, allocations: 1.114 MB / 424.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007302/0.1364, allocations: 4.681 MB / 429.5 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1724/0.3088, allocations: 0.5806 MB / 430.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.3118, allocations: 1.248 MB / 431.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.3144, allocations: 1.376 MB / 432.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004779/0.3149, allocations: 91.03 kB / 432.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.3166, allocations: 463.9 kB / 433.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.317, allocations: 385.2 kB / 433.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007865/0.3178, allocations: 0.5422 MB / 434.2 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.3211, allocations: 2.886 MB / 437.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3212, allocations: 2.516 kB / 437.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3212, allocations: 0 / 437.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.673e-05/0.3212, allocations: 0 / 437.1 MB, free: 14.15 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.009691/0.3309, allocations: 3.595 MB / 440.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.331, allocations: 12.39 kB / 440.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004295/0.3314, allocations: 282.3 kB / 441 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.3328, allocations: 410.4 kB / 441.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.3357, allocations: 1.717 MB / 443.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.3358, allocations: 162.9 kB / 443.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.3361, allocations: 224.1 kB / 443.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/0.3396, allocations: 2.106 MB / 445.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.3397, allocations: 3.812 kB / 445.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.3398, allocations: 84.91 kB / 445.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.3399, allocations: 49 kB / 445.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.3432, allocations: 1.964 MB / 447.7 MB, free: 11.75 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.01264/0.3559, allocations: 11.56 MB / 459.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.3595, allocations: 2.685 MB / 461.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.3608, allocations: 0.8152 MB / 462.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.3609, allocations: 27.38 kB / 462.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3609, allocations: 54.16 kB / 462.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=191): time 3.617e-06/0.3609, allocations: 0 / 462.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=192): time 0.01205/0.373, allocations: 5.663 MB / 468.5 MB, free: 156 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.3731, allocations: 178.3 kB / 468.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.3753, allocations: 1.737 MB / 470.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.3755, allocations: 65.7 kB / 470.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007537/0.3762, allocations: 1.115 MB / 471.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005513/0.3768, allocations: 0.6761 MB / 472.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3769, allocations: 52 kB / 472.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3771, allocations: 406.8 kB / 472.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.3785, allocations: 0.8056 MB / 473.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.3802, allocations: 1.444 MB / 474.9 MB, free: 9.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.3819, allocations: 0.9951 MB / 475.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3819, allocations: 8 kB / 475.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.007341/0.3893, allocations: 3.682 MB / 479.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003496/0.3896, allocations: 0.5685 MB / 480.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.3897, allocations: 17.69 kB / 480.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00728/0.397, allocations: 1.637 MB / 481.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.399, allocations: 0.5319 MB / 482.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/0.4215, allocations: 20.85 MB / 0.4914 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.4241, allocations: 175.4 kB / 0.4916 GB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.4244, allocations: 99.98 kB / 0.4917 GB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.4244, allocations: 6.297 kB / 0.4917 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005279/0.4297, allocations: 2.784 MB / 0.4944 GB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.4297, allocations: 16.12 kB / 0.4944 GB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/0.4363, allocations: 1.457 MB / 0.4958 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.4383, allocations: 0.5375 MB / 0.4964 GB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/0.455, allocations: 17.56 MB / 0.5135 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.4575, allocations: 123.5 kB / 0.5136 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003878/0.4579, allocations: 99.98 kB / 0.5137 GB, free: 3.391 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.001786/0.4597, allocations: 0.5659 MB / 0.5143 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008121/0.4606, allocations: 241.1 kB / 0.5145 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00526/0.4658, allocations: 2.139 MB / 0.5166 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.4659, allocations: 23.38 kB / 0.5166 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/0.4659, allocations: 8 kB / 0.5166 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/0.466, allocations: 15.94 kB / 0.5166 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009691/0.4757, allocations: 4.204 MB / 0.5207 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4757, allocations: 0 / 0.5207 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.4772, allocations: 348.4 kB / 0.5211 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.4783, allocations: 292.4 kB / 0.5214 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.4785, allocations: 36 kB / 0.5214 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/0.4845, allocations: 3.821 MB / 0.5251 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4845, allocations: 4 kB / 0.5251 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005647/0.4901, allocations: 3.06 MB / 0.5281 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.4913, allocations: 449 kB / 0.5285 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/0.4919, allocations: 44 kB / 0.5286 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.4934, allocations: 103.7 kB / 0.5287 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/0.4936, allocations: 129.8 kB / 0.5288 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/0.4938, allocations: 48 kB / 0.5288 GB, free: 3.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.4957, allocations: 1.108 MB / 0.5299 GB, free: 2.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4957, allocations: 0 / 0.5299 GB, free: 2.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004765/0.5005, allocations: 1.145 MB / 0.531 GB, free: 1.52 MB / 398.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.006375/0.5069, allocations: 3.748 MB / 0.5347 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01407/0.521, allocations: 7.608 MB / 0.5421 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.521, allocations: 0.8125 kB / 0.5421 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00505/0.5261, allocations: 1.515 MB / 0.5436 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/0.5305, allocations: 399.7 kB / 0.544 GB, free: 3.98 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.05702/0.5875, allocations: 16.21 MB / 0.5598 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/0.5897, allocations: 1.613 MB / 0.5614 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002272/0.592, allocations: 333.1 kB / 0.5617 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/0.5935, allocations: 0.9668 MB / 0.5627 GB, free: 15.58 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5935, allocations: 0 / 0.5627 GB, free: 15.58 MB / 446.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).