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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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) 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.001069/0.001069, allocations: 96.02 kB / 16.3 MB, free: 5.992 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.001112/0.001113, allocations: 182 kB / 17.2 MB, free: 5.906 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.94/1.94, allocations: 205.4 MB / 223.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.4178/0.4178, allocations: 38.05 MB / 309.7 MB, free: 8.855 MB / 254.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.000518/0.000518, allocations: 12 kB / 376.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.134, allocations: 56.34 MB / 432.9 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001777/0.1358, allocations: 1.07 MB / 434 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004401/0.1362, allocations: 247.9 kB / 434.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.1363, allocations: 0 / 434.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1365, allocations: 27.84 kB / 434.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.1366, allocations: 27.91 kB / 434.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.1368, allocations: 63.8 kB / 434.3 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.1369, allocations: 27.97 kB / 434.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.137, allocations: 7.984 kB / 434.4 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1371, allocations: 27.86 kB / 434.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.1372, allocations: 15.92 kB / 434.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1372, allocations: 0 / 434.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.1373, allocations: 39.91 kB / 434.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.1373, allocations: 15.92 kB / 434.5 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.1374, allocations: 33.7 kB / 434.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1375, allocations: 64.19 kB / 434.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.1375, allocations: 0 / 434.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1375, allocations: 0 / 434.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1375, allocations: 0 / 434.6 MB, free: 4.98 MB / 366.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.0003906/0.1379, allocations: 371.1 kB / 434.9 MB, free: 4.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.138, allocations: 12.03 kB / 434.9 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.138, allocations: 38.5 kB / 435 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.1381, allocations: 7.906 kB / 435 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.1383, allocations: 198.8 kB / 435.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1383, allocations: 4 kB / 435.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.1383, allocations: 0 / 435.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1384, allocations: 59.41 kB / 435.2 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1384, allocations: 0 / 435.2 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1385, allocations: 4 kB / 435.2 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1385, allocations: 3.953 kB / 435.2 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.1385, allocations: 23.92 kB / 435.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.1389, allocations: 273 kB / 435.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.371e-05/0.139, allocations: 38.56 kB / 435.6 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.139, allocations: 3.938 kB / 435.6 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1391, allocations: 34.52 kB / 435.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.1391, allocations: 0 / 435.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001582/0.1392, allocations: 57.75 kB / 435.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.1393, allocations: 81.11 kB / 435.8 MB, free: 3.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1394, allocations: 141.8 kB / 435.9 MB, free: 3.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1395, allocations: 33.64 kB / 435.9 MB, free: 3.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.1395, allocations: 92.08 kB / 436 MB, free: 3.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.1395, allocations: 15.8 kB / 436 MB, free: 3.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.1396, allocations: 0 / 436 MB, free: 3.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.1397, allocations: 314.8 kB / 436.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.1397, allocations: 11.94 kB / 436.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.1397, allocations: 21.7 kB / 436.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.1397, allocations: 12 kB / 436.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1397, allocations: 0 / 436.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.901e-05/0.1398, allocations: 45.69 kB / 436.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1398, allocations: 7.953 kB / 436.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1399, allocations: 4 kB / 436.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1399, allocations: 0 / 436.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.1399, allocations: 4 kB / 436.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1399, allocations: 4.031 kB / 436.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.14, allocations: 0 / 436.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.14, allocations: 3.984 kB / 436.4 MB, free: 2.855 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.1401, allocations: 121.8 kB / 436.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.1401, allocations: 3.906 kB / 436.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1402, allocations: 69.84 kB / 436.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1402, allocations: 3.938 kB / 436.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1402, allocations: 4 kB / 436.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1402, allocations: 0 / 436.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1404, allocations: 173.7 kB / 436.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1404, allocations: 0 / 436.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.1404, allocations: 4 kB / 436.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.1404, allocations: 4 kB / 436.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.1405, allocations: 0 / 436.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1405, allocations: 3.953 kB / 436.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1405, allocations: 3.984 kB / 436.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.1406, allocations: 151.4 kB / 437 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.1406, allocations: 85.02 kB / 437.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1407, allocations: 4 kB / 437.1 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.143e-05/0.1407, allocations: 0 / 437.1 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.1407, allocations: 7.938 kB / 437.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1407, allocations: 0 / 437.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.817e-05/0.1408, allocations: 115.8 kB / 437.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1408, allocations: 0 / 437.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1411, allocations: 23.92 kB / 437.2 MB, free: 1.984 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.1421, allocations: 0.9681 MB / 438.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.969e-05/0.1422, allocations: 15.98 kB / 438.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1422, allocations: 0 / 438.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.1422, allocations: 12 kB / 438.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.1424, allocations: 23.86 kB / 438.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.1431, allocations: 476.8 kB / 438.7 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1434, allocations: 0.6926 MB / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.1435, allocations: 12.17 kB / 439.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.1435, allocations: 23.42 kB / 439.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1435, allocations: 4 kB / 439.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.158, allocations: 2.1 MB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.1582, allocations: 218.3 kB / 441.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.775, allocations: 0 / 441.7 MB, free: 13.31 MB / 382.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/linux/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) Environment - environmentSimulation: