Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Examples_ENTSOE_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.ENTSOE.TestCase2,fileNamePrefix="PowerGrids_symb_jac_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.0009909/0.0009908, allocations: 96.19 kB / 15.7 MB, free: 472 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.001042/0.001042, allocations: 176.8 kB / 16.57 MB, free: 6.395 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.454/1.454, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0591/0.0591, allocations: 14.18 MB / 285.2 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.0007567/0.0007567, allocations: 15.94 kB / 349.5 MB, free: 17.15 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1054, allocations: 51.11 MB / 400.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.TestCase2): time 0.006974/0.1124, allocations: 7.07 MB / 407.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006416/0.1189, allocations: 3.761 MB / 411.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009697/0.1199, allocations: 27.81 kB / 411.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008444/0.1207, allocations: 290.2 kB / 411.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.1242, allocations: 1.308 MB / 413.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.1256, allocations: 0.622 MB / 413.7 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.1287, allocations: 1.628 MB / 415.4 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005228/0.1293, allocations: 283.8 kB / 415.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009988/0.1303, allocations: 0.681 MB / 416.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007743/0.131, allocations: 0.7118 MB / 417 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.1312, allocations: 56 kB / 417.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/0.1319, allocations: 291.8 kB / 417.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.1321, allocations: 226.9 kB / 417.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.1324, allocations: 285 kB / 417.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.1339, allocations: 1.481 MB / 419.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1339, allocations: 0 / 419.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1339, allocations: 0 / 419.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.1339, allocations: 0 / 419.3 MB, free: 11.22 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.005154/0.1391, allocations: 1.968 MB / 421.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1392, allocations: 16.02 kB / 421.3 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/0.1394, allocations: 144 kB / 421.5 MB, free: 9.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/0.14, allocations: 202.1 kB / 421.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.1416, allocations: 0.9461 MB / 422.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.1417, allocations: 82 kB / 422.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.1419, allocations: 119.9 kB / 422.8 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.1436, allocations: 1.058 MB / 423.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1437, allocations: 4 kB / 423.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.1438, allocations: 40 kB / 423.9 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.1438, allocations: 24 kB / 423.9 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.1457, allocations: 1.027 MB / 425 MB, free: 5.441 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.2169/0.3627, allocations: 5.501 MB / 430.5 MB, free: 35.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.3652, allocations: 1.343 MB / 431.8 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-05/0.3653, allocations: 16.17 kB / 431.8 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3653, allocations: 42.19 kB / 431.9 MB, free: 34.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=106): time 3.878e-06/0.3653, allocations: 4.531 kB / 431.9 MB, free: 34.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.009208/0.3746, allocations: 3.427 MB / 435.3 MB, free: 34.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.3747, allocations: 145.1 kB / 435.4 MB, free: 34.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.3761, allocations: 0.8998 MB / 436.3 MB, free: 33.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.3762, allocations: 51.67 kB / 436.4 MB, free: 33.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.3766, allocations: 0.5042 MB / 436.9 MB, free: 33.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.377, allocations: 388.4 kB / 437.3 MB, free: 32.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.377, allocations: 29.78 kB / 437.3 MB, free: 32.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3772, allocations: 360.2 kB / 437.6 MB, free: 32.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3782, allocations: 0.5254 MB / 438.2 MB, free: 32.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.3794, allocations: 0.7433 MB / 438.9 MB, free: 32.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.3806, allocations: 0.5994 MB / 439.5 MB, free: 31.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3806, allocations: 1.25 kB / 439.5 MB, free: 31.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005649/0.3863, allocations: 2.224 MB / 441.7 MB, free: 30.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.3866, allocations: 1.316 MB / 443.1 MB, free: 29.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.3866, allocations: 8.781 kB / 443.1 MB, free: 29.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/0.3901, allocations: 0.7856 MB / 443.8 MB, free: 29.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.3918, allocations: 337.5 kB / 444.2 MB, free: 29.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/0.4072, allocations: 16.79 MB / 461 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.409, allocations: 92.03 kB / 461.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.4091, allocations: 51.33 kB / 461.1 MB, free: 13.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4091, allocations: 3.969 kB / 461.1 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002942/0.4121, allocations: 1.566 MB / 462.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4121, allocations: 2.109 kB / 462.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.4141, allocations: 0.5723 MB / 463.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.4155, allocations: 344.1 kB / 463.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0078/0.4233, allocations: 12.77 MB / 476.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4248, allocations: 56.55 kB / 476.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.4248, allocations: 48.91 kB / 476.5 MB, free: 15.72 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.0009182/0.4258, allocations: 374.8 kB / 476.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.426, allocations: 134 kB / 477 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.429, allocations: 1.323 MB / 478.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.429, allocations: 8 kB / 478.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.429, allocations: 0 / 478.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.429, allocations: 3.984 kB / 478.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/0.4335, allocations: 2.566 MB / 480.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4335, allocations: 3.938 kB / 480.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000992/0.4345, allocations: 227.7 kB / 481.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.4356, allocations: 346.4 kB / 481.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.4357, allocations: 16 kB / 481.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/0.44, allocations: 2.877 MB / 484.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.44, allocations: 0 / 484.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02965/0.4697, allocations: 14.31 MB / 498.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.4702, allocations: 283.5 kB / 498.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.4703, allocations: 20 kB / 498.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006989/0.471, allocations: 79.8 kB / 499 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.4713, allocations: 80.88 kB / 499.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.4714, allocations: 28 kB / 499.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008578/0.4722, allocations: 0.5809 MB / 499.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4722, allocations: 0 / 499.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002839/0.4751, allocations: 0.9112 MB / 0.4889 GB, free: 7.324 MB / 350.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.004087/0.4792, allocations: 2.52 MB / 0.4913 GB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00778/0.487, allocations: 4.65 MB / 0.4959 GB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.487, allocations: 0 / 0.4959 GB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.4888, allocations: 0.8425 MB / 0.4967 GB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4899, allocations: 181.5 kB / 0.4969 GB, free: 14.84 MB / 366.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.007722/0.4977, allocations: 6.518 MB / 0.5032 GB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008528/0.4985, allocations: 1.201 MB / 0.5044 GB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009299/0.4995, allocations: 188.6 kB / 0.5046 GB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/0.5001, allocations: 475.3 kB / 0.505 GB, free: 6.312 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5002, allocations: 0 / 0.505 GB, free: 6.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06649/0.5667, allocations: 33.43 MB / 0.5377 GB, free: 4.926 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.5669, allocations: 200.6 kB / 0.5379 GB, free: 4.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.046/3.613, allocations: 0 / 0.5379 GB, free: 4.688 MB / 398.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Examples_ENTSOE_TestCase2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Examples_ENTSOE_TestCase2.fmu > PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.pipe 2>&1) Environment - environmentSimulation: