Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009976/0.0009977, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.5 MB / 230 MB, free: 7.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009061, allocations: 85.92 kB / 280.9 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04501/0.04501, allocations: 8.098 MB / 339.7 MB, free: 6.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.384e-05, allocations: 1.859 kB / 398.6 MB, free: 49.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 52.52 MB / 451.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.2746, allocations: 77 MB / 0.5157 GB, free: 8.152 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.2749, allocations: 63.97 kB / 0.5158 GB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008995/0.2839, allocations: 2.876 MB / 0.5186 GB, free: 5.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2839, allocations: 0 / 0.5186 GB, free: 5.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2839, allocations: 0 / 0.5186 GB, free: 5.176 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004815/0.2844, allocations: 374.2 kB / 0.5189 GB, free: 4.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.2845, allocations: 11.98 kB / 0.5189 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.2845, allocations: 15.86 kB / 0.5189 GB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2848, allocations: 171 kB / 0.5191 GB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.2848, allocations: 0 / 0.5191 GB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2848, allocations: 4 kB / 0.5191 GB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001599/0.285, allocations: 51.98 kB / 0.5192 GB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2852, allocations: 79.58 kB / 0.5192 GB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2852, allocations: 0 / 0.5192 GB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2852, allocations: 0 / 0.5192 GB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2852, allocations: 3.953 kB / 0.5192 GB, free: 4.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.2858, allocations: 325.2 kB / 0.5196 GB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.2859, allocations: 46.52 kB / 0.5196 GB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.2859, allocations: 20.98 kB / 0.5196 GB, free: 3.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.2861, allocations: 77.11 kB / 0.5197 GB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2861, allocations: 38.56 kB / 0.5197 GB, free: 3.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.2861, allocations: 4 kB / 0.5197 GB, free: 3.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00026/0.2864, allocations: 57.59 kB / 0.5198 GB, free: 3.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2865, allocations: 55.41 kB / 0.5198 GB, free: 3.684 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.2866, allocations: 104.9 kB / 0.5199 GB, free: 3.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2866, allocations: 25.7 kB / 0.52 GB, free: 3.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.2867, allocations: 104.2 kB / 0.5201 GB, free: 3.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2867, allocations: 15.75 kB / 0.5201 GB, free: 3.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.2867, allocations: 0 / 0.5201 GB, free: 3.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2868, allocations: 314.8 kB / 0.5204 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.2869, allocations: 15.94 kB / 0.5204 GB, free: 3.086 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.2869, allocations: 11.98 kB / 0.5204 GB, free: 3.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.233e-05/0.287, allocations: 12 kB / 0.5204 GB, free: 3.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.287, allocations: 0 / 0.5204 GB, free: 3.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001797/0.2872, allocations: 69.48 kB / 0.5205 GB, free: 2.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2873, allocations: 4 kB / 0.5205 GB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2873, allocations: 7.984 kB / 0.5205 GB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2873, allocations: 0 / 0.5205 GB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/0.2874, allocations: 4 kB / 0.5205 GB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2874, allocations: 4 kB / 0.5205 GB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.2875, allocations: 8 kB / 0.5205 GB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2875, allocations: 3.984 kB / 0.5205 GB, free: 2.957 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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.517e-05/0.2876, allocations: 106.3 kB / 0.5206 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001861/0.2878, allocations: 61.64 kB / 0.5207 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.2878, allocations: 11.89 kB / 0.5207 GB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.2881, allocations: 74.08 kB / 0.5208 GB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2881, allocations: 0 / 0.5208 GB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2881, allocations: 4 kB / 0.5208 GB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2881, allocations: 3.938 kB / 0.5208 GB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2883, allocations: 150.2 kB / 0.5209 GB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2883, allocations: 384 / 0.5209 GB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.2884, allocations: 15.98 kB / 0.5209 GB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2884, allocations: 3.953 kB / 0.5209 GB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2884, allocations: 4 kB / 0.5209 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2885, allocations: 0 / 0.5209 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2885, allocations: 4 kB / 0.5209 GB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2887, allocations: 163.5 kB / 0.5211 GB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.2888, allocations: 77.11 kB / 0.5212 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.2888, allocations: 7.938 kB / 0.5212 GB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.2889, allocations: 0 / 0.5212 GB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2889, allocations: 4 kB / 0.5212 GB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.2889, allocations: 0 / 0.5212 GB, free: 2.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.376e-05/0.289, allocations: 87.28 kB / 0.5213 GB, free: 2.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.693e-06/0.289, allocations: 0 / 0.5213 GB, free: 2.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.2894, allocations: 23.78 kB / 0.5213 GB, free: 2.086 MB / 362.7 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 (6): * Single equations (assignments): 6 * 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.0005651/0.29, allocations: 0.693 MB / 0.522 GB, free: 1.363 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.2901, allocations: 43.92 kB / 0.522 GB, free: 1.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2901, allocations: 0 / 0.522 GB, free: 1.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.2901, allocations: 15.94 kB / 0.522 GB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.2904, allocations: 7.953 kB / 0.522 GB, free: 1.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.2909, allocations: 121.5 kB / 0.5221 GB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.2912, allocations: 0.6924 MB / 0.5228 GB, free: 432 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.102e-05/0.2912, allocations: 11.94 kB / 0.5228 GB, free: 420 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.2913, allocations: 19.44 kB / 0.5228 GB, free: 400 kB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2913, allocations: 0 / 0.5228 GB, free: 400 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2702/0.5615, allocations: 1.179 MB / 0.524 GB, free: 79.87 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.5617, allocations: 110.8 kB / 0.5241 GB, free: 79.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.045, allocations: 0 / 0.5241 GB, free: 79.7 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)