Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.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.TestCase2,fileNamePrefix="PowerGrids_PowerGrids_Examples_ENTSOE_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.ENTSOE.TestCase2,fileNamePrefix="PowerGrids_PowerGrids_Examples_ENTSOE_TestCase2",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.001044/0.001044, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.00137/0.00137, allocations: 177.3 kB / 15.95 MB, free: 216 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.565/1.565, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05889/0.05889, allocations: 14.17 MB / 284.5 MB, free: 7.137 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.0005484/0.0005485, allocations: 12 kB / 348.9 MB, free: 17.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1073, allocations: 51.12 MB / 400 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.TestCase2): time 0.007605/0.1149, allocations: 7.073 MB / 407.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007363/0.1223, allocations: 3.754 MB / 410.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.1235, allocations: 31.81 kB / 410.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009529/0.1244, allocations: 294.2 kB / 411.2 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.1281, allocations: 1.303 MB / 412.5 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.1297, allocations: 0.6155 MB / 413.1 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.1327, allocations: 1.632 MB / 414.7 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.1332, allocations: 283.8 kB / 415 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00098/0.1342, allocations: 0.681 MB / 415.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00076/0.1349, allocations: 0.708 MB / 416.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.1351, allocations: 56 kB / 416.4 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.1359, allocations: 295.7 kB / 416.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.1361, allocations: 227 kB / 416.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.1363, allocations: 280.9 kB / 417.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.1378, allocations: 1.488 MB / 418.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1378, allocations: 0 / 418.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1378, allocations: 0 / 418.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1378, allocations: 0 / 418.7 MB, free: 11.21 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.005252/0.1431, allocations: 1.968 MB / 420.7 MB, free: 9.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.112e-05/0.1432, allocations: 16.02 kB / 420.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002786/0.1434, allocations: 144 kB / 420.8 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006483/0.1441, allocations: 206 kB / 421 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.146, allocations: 0.9422 MB / 422 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.1461, allocations: 82 kB / 422.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.1463, allocations: 112 kB / 422.2 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.1483, allocations: 1.062 MB / 423.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1483, allocations: 0 / 423.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.009e-05/0.1484, allocations: 40 kB / 423.3 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.1484, allocations: 28 kB / 423.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.1504, allocations: 1.023 MB / 424.3 MB, free: 5.445 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.2503/0.4007, allocations: 5.503 MB / 429.8 MB, free: 34.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.4032, allocations: 1.333 MB / 431.1 MB, free: 34.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/0.4033, allocations: 15.48 kB / 431.2 MB, free: 34.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.4034, allocations: 51.5 kB / 431.2 MB, free: 34.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=106): time 2.946e-06/0.4034, allocations: 0 / 431.2 MB, free: 34.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.009825/0.4132, allocations: 3.429 MB / 434.6 MB, free: 33.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.4133, allocations: 141.8 kB / 434.8 MB, free: 33.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.4149, allocations: 0.9047 MB / 435.7 MB, free: 33.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.415, allocations: 51.2 kB / 435.7 MB, free: 33.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.4155, allocations: 0.5016 MB / 436.2 MB, free: 33.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.4158, allocations: 390.8 kB / 436.6 MB, free: 32.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.4159, allocations: 33.38 kB / 436.7 MB, free: 32.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.416, allocations: 361.3 kB / 437 MB, free: 32.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.4171, allocations: 0.5168 MB / 437.5 MB, free: 32.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.4184, allocations: 0.7468 MB / 438.3 MB, free: 31.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.4196, allocations: 0.598 MB / 438.9 MB, free: 31.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4196, allocations: 1.5 kB / 438.9 MB, free: 31.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006235/0.4259, allocations: 2.224 MB / 441.1 MB, free: 30.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003549/0.4262, allocations: 1.313 MB / 442.4 MB, free: 29.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4263, allocations: 7.969 kB / 442.4 MB, free: 29.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003349/0.4296, allocations: 0.7894 MB / 443.2 MB, free: 29.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.4311, allocations: 332.4 kB / 443.5 MB, free: 29.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/0.4454, allocations: 16.8 MB / 460.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.4469, allocations: 95.94 kB / 460.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.447, allocations: 43.56 kB / 460.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.447, allocations: 3.938 kB / 460.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002989/0.45, allocations: 1.564 MB / 462 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.45, allocations: 3.969 kB / 462 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.4521, allocations: 0.5784 MB / 462.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.4533, allocations: 342.5 kB / 462.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00814/0.4615, allocations: 12.77 MB / 475.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4628, allocations: 57.89 kB / 475.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.4629, allocations: 50.23 kB / 475.8 MB, free: 15.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (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 (165): * Single equations (assignments): 154 * 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: 9 * 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: 4 {(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 5 {3 4,1 1,1 3,1 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0008649/0.4638, allocations: 376.5 kB / 476.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.464, allocations: 130.7 kB / 476.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/0.467, allocations: 1.312 MB / 477.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.467, allocations: 16 kB / 477.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.467, allocations: 4 kB / 477.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.467, allocations: 3.984 kB / 477.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/0.4719, allocations: 2.571 MB / 480.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.472, allocations: 0 / 480.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009708/0.4729, allocations: 215.7 kB / 480.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.474, allocations: 354.4 kB / 480.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.4741, allocations: 20 kB / 480.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.4784, allocations: 2.875 MB / 483.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4784, allocations: 0 / 483.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/0.4823, allocations: 1.909 MB / 485.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/0.4829, allocations: 279.5 kB / 485.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.4831, allocations: 24 kB / 485.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/0.4838, allocations: 71.8 kB / 485.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.484, allocations: 80.88 kB / 486 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.4841, allocations: 24.09 kB / 486 MB, free: 5.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009116/0.485, allocations: 0.5926 MB / 486.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.485, allocations: 0 / 486.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002279/0.4873, allocations: 0.6172 MB / 487.3 MB, free: 4.215 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (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) * 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 (86): * Single equations (assignments): 85 * 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: 0 * Non-linear torn systems: 1 {10 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004227/0.4916, allocations: 2.514 MB / 489.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.008321/0.4999, allocations: 4.654 MB / 494.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4999, allocations: 0 / 494.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.5018, allocations: 0.845 MB / 495.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.5031, allocations: 182.9 kB / 495.4 MB, free: 11.72 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.00647/0.5095, allocations: 5.551 MB / 0.4893 GB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.5104, allocations: 1.169 MB / 0.4904 GB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008767/0.5113, allocations: 168.7 kB / 0.4906 GB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006352/0.5119, allocations: 475.3 kB / 0.491 GB, free: 4.254 MB / 350.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5119, allocations: 0 / 0.491 GB, free: 4.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05851/0.5704, allocations: 29.93 MB / 0.5202 GB, free: 6.371 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/0.5707, allocations: 194.2 kB / 0.5204 GB, free: 6.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/3.417, allocations: 0 / 0.5204 GB, free: 6.129 MB / 382.1 MB (rm -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.pipe ; mkfifo PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.pipe >> ../files/PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Examples_ENTSOE_TestCase2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Examples_ENTSOE_TestCase2.fmu > PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.pipe 2>&1) Environment - environmentSimulation: