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.001443/0.001443, allocations: 104 kB / 17.06 MB, free: 6.027 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.00139/0.00139, allocations: 195 kB / 18 MB, free: 5.105 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.459/1.459, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1801/0.1801, allocations: 37.98 MB / 309.2 MB, free: 5.961 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.001385/0.001385, allocations: 59.91 kB / 431.3 MB, free: 16.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1219, allocations: 55.25 MB / 486.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.004427/0.1264, allocations: 1.404 MB / 488 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006288/0.1271, allocations: 267.7 kB / 488.2 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.1272, allocations: 4 kB / 488.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.1274, allocations: 31.78 kB / 488.3 MB, free: 7.16 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1277, allocations: 27.86 kB / 488.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.128, allocations: 72.27 kB / 488.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1281, allocations: 51.91 kB / 488.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.675e-05/0.1282, allocations: 10.81 kB / 488.4 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.1284, allocations: 31.84 kB / 488.5 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.1285, allocations: 19.86 kB / 488.5 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1285, allocations: 4 kB / 488.5 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1286, allocations: 47.97 kB / 488.5 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.1287, allocations: 23.91 kB / 488.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.1287, allocations: 19.88 kB / 488.6 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.129, allocations: 87.77 kB / 488.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.129, allocations: 4 kB / 488.7 MB, free: 6.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.129, allocations: 0 / 488.7 MB, free: 6.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.129, allocations: 0 / 488.7 MB, free: 6.77 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.0004362/0.1294, allocations: 380 kB / 489 MB, free: 6.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1295, allocations: 11.89 kB / 489.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.1295, allocations: 42.73 kB / 489.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.1296, allocations: 4.844 kB / 489.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.1298, allocations: 184.3 kB / 489.3 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1298, allocations: 384 / 489.3 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.1298, allocations: 8.359 kB / 489.3 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.13, allocations: 71.33 kB / 489.4 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.13, allocations: 3.938 kB / 489.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.13, allocations: 0 / 489.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.13, allocations: 0 / 489.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.673e-05/0.1301, allocations: 19.98 kB / 489.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.1305, allocations: 276.8 kB / 489.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1306, allocations: 46.5 kB / 489.7 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.1306, allocations: 8.922 kB / 489.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.1307, allocations: 4 kB / 489.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1307, allocations: 34.5 kB / 489.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1307, allocations: 0 / 489.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002102/0.1309, allocations: 57.67 kB / 489.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.131, allocations: 77.11 kB / 489.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1312, allocations: 149.7 kB / 490 MB, free: 5.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1312, allocations: 29.7 kB / 490.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.1313, allocations: 95.98 kB / 490.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1313, allocations: 11.89 kB / 490.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.1313, allocations: 17.72 kB / 490.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1315, allocations: 314.8 kB / 490.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.1315, allocations: 11.98 kB / 490.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.1316, allocations: 17.72 kB / 490.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.1316, allocations: 20.84 kB / 490.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1316, allocations: 4 kB / 490.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.943e-05/0.1317, allocations: 49.59 kB / 490.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1318, allocations: 4 kB / 490.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1318, allocations: 4 kB / 490.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1318, allocations: 0 / 490.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.1319, allocations: 11.94 kB / 490.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1319, allocations: 3.938 kB / 490.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.1319, allocations: 4 kB / 490.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1319, allocations: 4.031 kB / 490.6 MB, free: 4.574 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.1321, allocations: 121.8 kB / 490.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.1321, allocations: 3.906 kB / 490.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.1321, allocations: 11.91 kB / 490.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1322, allocations: 0 / 490.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1322, allocations: 0 / 490.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1322, allocations: 0 / 490.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1324, allocations: 177.6 kB / 490.9 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1324, allocations: 336 / 490.9 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.1324, allocations: 11.98 kB / 490.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1325, allocations: 4 kB / 490.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1325, allocations: 0 / 490.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1325, allocations: 0 / 490.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1325, allocations: 0 / 490.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.1327, allocations: 159.3 kB / 491.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.1327, allocations: 77.11 kB / 491.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1327, allocations: 0 / 491.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.1328, allocations: 8 kB / 491.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.1328, allocations: 3.984 kB / 491.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.1328, allocations: 0 / 491.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.498e-05/0.1329, allocations: 115.2 kB / 491.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1329, allocations: 3.938 kB / 491.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1332, allocations: 19.92 kB / 491.3 MB, free: 3.773 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 (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.001155/0.1344, allocations: 0.9648 MB / 492.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.1345, allocations: 23.91 kB / 492.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1345, allocations: 0 / 492.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.1345, allocations: 8 kB / 492.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1349, allocations: 15.98 kB / 492.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1361, allocations: 1.319 MB / 493.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1365, allocations: 0.6885 MB / 494.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.1366, allocations: 11.98 kB / 494.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.1366, allocations: 27.42 kB / 494.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1366, allocations: 3.938 kB / 494.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1603, allocations: 2.524 MB / 496.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.654, allocations: 8 kB / 496.9 MB, free: 13.96 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/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)