Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 86.62 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1853/0.1853, allocations: 37.98 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.117e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 56.33 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3927/0.5131, allocations: 86.41 MB / 0.5404 GB, free: 8.398 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001796/0.515, allocations: 0.5621 MB / 0.541 GB, free: 7.836 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.008384/0.5234, allocations: 2.401 MB / 0.5433 GB, free: 5.457 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5234, allocations: 0 / 0.5433 GB, free: 5.457 MB / 379.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.5235, allocations: 4 kB / 0.5433 GB, free: 5.453 MB / 379.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.0004648/0.5239, allocations: 375 kB / 0.5437 GB, free: 5.043 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.524, allocations: 8.031 kB / 0.5437 GB, free: 5.035 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.5241, allocations: 7.906 kB / 0.5437 GB, free: 5.027 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.5244, allocations: 194.9 kB / 0.5439 GB, free: 4.797 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.5245, allocations: 0 / 0.5439 GB, free: 4.797 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.5245, allocations: 8 kB / 0.5439 GB, free: 4.789 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.246e-05/0.5246, allocations: 12 kB / 0.5439 GB, free: 4.777 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.5247, allocations: 59.34 kB / 0.544 GB, free: 4.707 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5248, allocations: 0 / 0.544 GB, free: 4.707 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.5248, allocations: 0 / 0.544 GB, free: 4.707 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5248, allocations: 0 / 0.544 GB, free: 4.707 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.5252, allocations: 261.5 kB / 0.5442 GB, free: 4.414 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.5254, allocations: 34.56 kB / 0.5442 GB, free: 4.371 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.5254, allocations: 12.86 kB / 0.5443 GB, free: 4.355 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.5254, allocations: 0 / 0.5443 GB, free: 4.355 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.5255, allocations: 34.64 kB / 0.5443 GB, free: 4.312 MB / 379.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.5255, allocations: 0 / 0.5443 GB, free: 4.312 MB / 379.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002264/0.5257, allocations: 45.61 kB / 0.5443 GB, free: 4.262 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.5258, allocations: 85.8 kB / 0.5444 GB, free: 4.16 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.526, allocations: 129 kB / 0.5445 GB, free: 4.027 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.5261, allocations: 25.7 kB / 0.5446 GB, free: 3.996 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.5261, allocations: 96.08 kB / 0.5446 GB, free: 3.898 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.5262, allocations: 15.8 kB / 0.5447 GB, free: 3.883 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5262, allocations: 0 / 0.5447 GB, free: 3.883 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5263, allocations: 318.8 kB / 0.545 GB, free: 3.562 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.5264, allocations: 4 kB / 0.545 GB, free: 3.559 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.5264, allocations: 25.66 kB / 0.545 GB, free: 3.527 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.5265, allocations: 16.05 kB / 0.545 GB, free: 3.512 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5265, allocations: 0 / 0.545 GB, free: 3.512 MB / 379.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001101/0.5266, allocations: 45.69 kB / 0.5451 GB, free: 3.461 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.5266, allocations: 8 kB / 0.5451 GB, free: 3.453 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5267, allocations: 0 / 0.5451 GB, free: 3.453 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5267, allocations: 0 / 0.5451 GB, free: 3.453 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.5267, allocations: 4 kB / 0.5451 GB, free: 3.449 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5268, allocations: 4 kB / 0.5451 GB, free: 3.445 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.5268, allocations: 4.031 kB / 0.5451 GB, free: 3.441 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.5268, allocations: 4 kB / 0.5451 GB, free: 3.438 MB / 379.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 () * 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 9.282e-05/0.5269, allocations: 104.9 kB / 0.5452 GB, free: 3.328 MB / 379.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001184/0.5271, allocations: 53.53 kB / 0.5452 GB, free: 3.27 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.5271, allocations: 7.906 kB / 0.5452 GB, free: 3.262 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.5273, allocations: 58.02 kB / 0.5453 GB, free: 3.195 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5273, allocations: 0 / 0.5453 GB, free: 3.195 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5273, allocations: 0 / 0.5453 GB, free: 3.195 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5273, allocations: 3.953 kB / 0.5453 GB, free: 3.191 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.5276, allocations: 154.2 kB / 0.5454 GB, free: 3.004 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5276, allocations: 0 / 0.5454 GB, free: 3.004 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.5276, allocations: 7.984 kB / 0.5455 GB, free: 2.996 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5276, allocations: 0 / 0.5455 GB, free: 2.996 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.5277, allocations: 0 / 0.5455 GB, free: 2.996 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5277, allocations: 0 / 0.5455 GB, free: 2.996 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5277, allocations: 0 / 0.5455 GB, free: 2.996 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.5278, allocations: 151.3 kB / 0.5456 GB, free: 2.832 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.5279, allocations: 93 kB / 0.5457 GB, free: 2.723 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.528, allocations: 4 kB / 0.5457 GB, free: 2.719 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.528, allocations: 3.938 kB / 0.5457 GB, free: 2.715 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.5281, allocations: 0 / 0.5457 GB, free: 2.715 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.5281, allocations: 4 kB / 0.5457 GB, free: 2.711 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.5282, allocations: 105.2 kB / 0.5458 GB, free: 2.609 MB / 379.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5282, allocations: 0 / 0.5458 GB, free: 2.609 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.5286, allocations: 23.94 kB / 0.5458 GB, free: 2.586 MB / 379.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 () * 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.001408/0.5301, allocations: 0.9186 MB / 0.5467 GB, free: 1.668 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.5302, allocations: 19.98 kB / 0.5467 GB, free: 1.648 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5302, allocations: 0 / 0.5467 GB, free: 1.648 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 1.77e-05/0.5302, allocations: 4 kB / 0.5467 GB, free: 1.645 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.5305, allocations: 19.89 kB / 0.5468 GB, free: 1.625 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.5311, allocations: 149.5 kB / 0.5469 GB, free: 1.438 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.5315, allocations: 0.6924 MB / 0.5476 GB, free: 0.7188 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.5316, allocations: 12.17 kB / 0.5476 GB, free: 0.707 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.5316, allocations: 23.42 kB / 0.5476 GB, free: 0.6836 MB / 379.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5317, allocations: 4 kB / 0.5476 GB, free: 0.6797 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.5596, allocations: 1.789 MB / 0.5494 GB, free: 14.89 MB / 395.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/0.5599, allocations: 163 kB / 0.5495 GB, free: 14.7 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.134, allocations: 4 kB / 0.5495 GB, free: 14.7 MB / 395.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat does not exist to compare? outputFormat=mat