Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",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.001446/0.001446, allocations: 106.1 kB / 16.92 MB, free: 6.184 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.001689/0.001689, allocations: 191.5 kB / 17.85 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1683/0.1683, allocations: 38.02 MB / 329.7 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 66.06 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1118, allocations: 58.07 MB / 457 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003307/0.1151, allocations: 1.375 MB / 458.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.1159, allocations: 363.3 kB / 458.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.116, allocations: 0 / 458.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.1162, allocations: 27.84 kB / 458.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.1164, allocations: 31.86 kB / 458.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1166, allocations: 81.88 kB / 458.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1167, allocations: 55.84 kB / 458.9 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1168, allocations: 4 kB / 458.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.1169, allocations: 35.84 kB / 458.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.117, allocations: 19.92 kB / 458.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1171, allocations: 7.938 kB / 458.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1172, allocations: 47.97 kB / 459 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.1172, allocations: 19.92 kB / 459 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.1173, allocations: 23.75 kB / 459 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1175, allocations: 91.77 kB / 459.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1175, allocations: 0 / 459.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1175, allocations: 0 / 459.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1175, allocations: 4 kB / 459.1 MB, free: 5.797 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003823/0.1179, allocations: 379.5 kB / 459.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1179, allocations: 11.89 kB / 459.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.118, allocations: 38.75 kB / 459.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.118, allocations: 4.844 kB / 459.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1182, allocations: 196.2 kB / 459.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-06/0.1182, allocations: 4.312 kB / 459.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1182, allocations: 4.375 kB / 459.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1183, allocations: 67.34 kB / 459.8 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1183, allocations: 0 / 459.8 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1184, allocations: 0 / 459.8 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1184, allocations: 3.984 kB / 459.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.1184, allocations: 16 kB / 459.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.1188, allocations: 284.8 kB / 460.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.508e-05/0.1189, allocations: 38.56 kB / 460.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.1189, allocations: 16.92 kB / 460.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1189, allocations: 3.938 kB / 460.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.119, allocations: 30.56 kB / 460.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.119, allocations: 0 / 460.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001687/0.1191, allocations: 61.53 kB / 460.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1192, allocations: 81.11 kB / 460.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1193, allocations: 149.3 kB / 460.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1194, allocations: 25.7 kB / 460.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.1194, allocations: 92.05 kB / 460.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1195, allocations: 11.84 kB / 460.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1195, allocations: 21.7 kB / 460.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1196, allocations: 314.8 kB / 460.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.1196, allocations: 8 kB / 461 MB, free: 3.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.1197, allocations: 21.7 kB / 461 MB, free: 3.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.614e-05/0.1197, allocations: 20.86 kB / 461 MB, free: 3.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1197, allocations: 3.938 kB / 461 MB, free: 3.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.911e-05/0.1198, allocations: 49.59 kB / 461.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1198, allocations: 8 kB / 461.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1198, allocations: 0 / 461.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1198, allocations: 0 / 461.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.1199, allocations: 11.98 kB / 461.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1199, allocations: 0 / 461.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.12, allocations: 3.938 kB / 461.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.12, allocations: 8.031 kB / 461.1 MB, free: 3.598 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.516e-05/0.1201, allocations: 117.8 kB / 461.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.1201, allocations: 3.906 kB / 461.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.1202, allocations: 69.83 kB / 461.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1202, allocations: 48 / 461.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1202, allocations: 3.984 kB / 461.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1203, allocations: 0 / 461.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1204, allocations: 173.6 kB / 461.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1204, allocations: 0 / 461.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.1205, allocations: 11.98 kB / 461.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1205, allocations: 4 kB / 461.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.1205, allocations: 0 / 461.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1205, allocations: 0 / 461.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1205, allocations: 0 / 461.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.1206, allocations: 159.3 kB / 461.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.1206, allocations: 77.11 kB / 461.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1207, allocations: 4 kB / 461.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/0.1207, allocations: 4 kB / 461.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.1208, allocations: 3.984 kB / 461.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1208, allocations: 0 / 461.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.008e-05/0.1208, allocations: 111.3 kB / 461.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1209, allocations: 0 / 461.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1211, allocations: 23.92 kB / 461.8 MB, free: 2.738 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.1222, allocations: 0.9733 MB / 462.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.946e-05/0.1224, allocations: 23.92 kB / 462.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1224, allocations: 0 / 462.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.69e-05/0.1224, allocations: 8 kB / 462.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1227, allocations: 15.98 kB / 462.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1239, allocations: 1.324 MB / 464.2 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.1242, allocations: 0.6924 MB / 464.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.1242, allocations: 11.98 kB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.1243, allocations: 27.42 kB / 464.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1243, allocations: 0 / 464.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04732/0.1716, allocations: 2.464 MB / 467.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.204/9.375, allocations: 19.86 kB / 467.4 MB, free: 13.26 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)