Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16",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.001554/0.001554, allocations: 176.4 kB / 8.348 MB, free: 0.7266 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.642/1.642, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.00122/0.00122, allocations: 89.72 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.643/1.643, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.032e-05, allocations: 0 / 0.5289 GB, free: 1.219 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7573/0.7574, allocations: 82.85 MB / 0.6098 GB, free: 12.94 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.9814, allocations: 125.6 MB / 0.7324 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.9818, allocations: 55.92 kB / 0.7325 GB, free: 15.15 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.041/2.023, allocations: 42.43 MB / 0.7739 GB, free: 118.3 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.463e-06/2.023, allocations: 3.938 kB / 0.7739 GB, free: 118.3 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 4e-05/2.023, allocations: 26.34 kB / 0.7739 GB, free: 118.2 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.007086/2.03, allocations: 2.754 MB / 0.7766 GB, free: 115.4 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/2.03, allocations: 16.03 kB / 0.7767 GB, free: 115.4 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/2.031, allocations: 122.6 kB / 0.7768 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006861/2.038, allocations: 2.394 MB / 0.7791 GB, free: 112.9 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/2.038, allocations: 36 kB / 0.7791 GB, free: 112.8 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006756/2.039, allocations: 163.5 kB / 0.7793 GB, free: 112.7 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002427/2.041, allocations: 1.823 MB / 0.7811 GB, free: 110.8 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/2.043, allocations: 1.897 MB / 0.7829 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/2.044, allocations: 4 kB / 0.7829 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/2.044, allocations: 4 kB / 0.7829 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/2.044, allocations: 42.09 kB / 0.783 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/2.058, allocations: 6.277 MB / 0.7891 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003707/2.062, allocations: 3.044 MB / 0.7921 GB, free: 99.48 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/2.063, allocations: 1.37 MB / 0.7934 GB, free: 98.11 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/2.063, allocations: 21.3 kB / 0.7934 GB, free: 98.09 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/2.064, allocations: 51.81 kB / 0.7935 GB, free: 98.04 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=166): time 3.967e-06/2.064, allocations: 0 / 0.7935 GB, free: 98.04 MB / 0.5421 GB Notification: Performance of matching and sorting (n=166): time 0.003569/2.067, allocations: 2.591 MB / 0.796 GB, free: 95.43 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/2.067, allocations: 76.66 kB / 0.7961 GB, free: 95.34 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/2.068, allocations: 429.1 kB / 0.7965 GB, free: 94.92 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002335/2.068, allocations: 25.7 kB / 0.7965 GB, free: 94.89 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/2.068, allocations: 326.1 kB / 0.7968 GB, free: 94.56 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/2.069, allocations: 0.6467 MB / 0.7975 GB, free: 93.91 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/2.069, allocations: 0 / 0.7975 GB, free: 93.91 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001767/2.069, allocations: 435.1 kB / 0.7979 GB, free: 93.47 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/2.071, allocations: 1.745 MB / 0.7996 GB, free: 91.72 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/2.073, allocations: 1.96 MB / 0.8015 GB, free: 89.71 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/2.075, allocations: 1.97 MB / 0.8034 GB, free: 87.72 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/2.075, allocations: 0 / 0.8034 GB, free: 87.72 MB / 0.5421 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005145/2.081, allocations: 4.015 MB / 0.8073 GB, free: 83.65 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/2.081, allocations: 4 kB / 0.8073 GB, free: 83.65 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/2.081, allocations: 4 kB / 0.8074 GB, free: 83.64 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.165e-05/2.081, allocations: 16 kB / 0.8074 GB, free: 83.63 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/2.085, allocations: 0.9246 MB / 0.8083 GB, free: 82.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.033e-05/2.085, allocations: 12 kB / 0.8083 GB, free: 82.69 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/2.087, allocations: 293.8 kB / 0.8086 GB, free: 82.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/2.087, allocations: 67.94 kB / 0.8086 GB, free: 82.34 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 280 * 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 0.0004525/2.087, allocations: 132.5 kB / 0.8088 GB, free: 82.2 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003602/2.091, allocations: 2.594 MB / 0.8113 GB, free: 79.6 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/2.091, allocations: 86.95 kB / 0.8114 GB, free: 79.51 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/2.095, allocations: 2.997 MB / 0.8143 GB, free: 76.5 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/2.095, allocations: 20 kB / 0.8143 GB, free: 76.48 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/2.095, allocations: 7.953 kB / 0.8143 GB, free: 76.47 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/2.095, allocations: 7.969 kB / 0.8143 GB, free: 76.46 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/2.098, allocations: 1.65 MB / 0.8159 GB, free: 74.77 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/2.098, allocations: 4 kB / 0.8159 GB, free: 74.77 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004397/2.102, allocations: 0.8778 MB / 0.8168 GB, free: 73.89 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.071e-05/2.102, allocations: 8 kB / 0.8168 GB, free: 73.88 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003038/2.102, allocations: 99.88 kB / 0.8169 GB, free: 73.79 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/2.103, allocations: 4 kB / 0.8169 GB, free: 73.78 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/2.103, allocations: 0 / 0.8169 GB, free: 73.78 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005416/2.108, allocations: 4.278 MB / 0.8211 GB, free: 69.47 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009676/2.109, allocations: 487.4 kB / 0.8216 GB, free: 68.97 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/2.109, allocations: 83.89 kB / 0.8216 GB, free: 68.89 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/2.111, allocations: 147.7 kB / 0.8218 GB, free: 68.75 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/2.111, allocations: 101.8 kB / 0.8219 GB, free: 68.65 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/2.111, allocations: 47.98 kB / 0.8219 GB, free: 68.6 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003618/2.111, allocations: 310.9 kB / 0.8222 GB, free: 68.3 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.91e-07/2.111, allocations: 0 / 0.8222 GB, free: 68.3 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001567/2.113, allocations: 411.5 kB / 0.8226 GB, free: 67.89 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 97 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].T_s[5],generator[1].T_s[6],generator[1].T_s[7],generator[1].T_s[8],generator[1].T_s[9],generator[1].T_s[10],generator[1].T_s[11],generator[1].T_s[12],generator[1].T_s[13],generator[1].T_s[14],generator[1].T_s[15],generator[1].T_s[16],generator[1].err_p_t_int,generator[1].err_p_int,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].T_s[5],generator[2].T_s[6],generator[2].T_s[7],generator[2].T_s[8],generator[2].T_s[9],generator[2].T_s[10],generator[2].T_s[11],generator[2].T_s[12],generator[2].T_s[13],generator[2].T_s[14],generator[2].T_s[15],generator[2].T_s[16],generator[2].err_p_t_int,generator[2].err_p_int,generator[3].theta,generator[3].omega,generator[3].p,generator[3].q_ev,generator[3].y_t,generator[3].p_t_lp,generator[3].T_s[1],generator[3].T_s[2],generator[3].T_s[3],generator[3].T_s[4],generator[3].T_s[5],generator[3].T_s[6],generator[3].T_s[7],generator[3].T_s[8],generator[3].T_s[9],generator[3].T_s[10],generator[3].T_s[11],generator[3].T_s[12],generator[3].T_s[13],generator[3].T_s[14],generator[3].T_s[15],generator[3].T_s[16],generator[3].err_p_t_int,generator[3].err_p_int,generator[4].theta,generator[4].omega,generator[4].p,generator[4].q_ev,generator[4].y_t,generator[4].p_t_lp,generator[4].T_s[1],generator[4].T_s[2],generator[4].T_s[3],generator[4].T_s[4],generator[4].T_s[5],generator[4].T_s[6],generator[4].T_s[7],generator[4].T_s[8],generator[4].T_s[9],generator[4].T_s[10],generator[4].T_s[11],generator[4].T_s[12],generator[4].T_s[13],generator[4].T_s[14],generator[4].T_s[15],generator[4].T_s[16],generator[4].err_p_t_int,generator[4].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 178 * 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.005384/2.118, allocations: 4.94 MB / 0.8274 GB, free: 62.91 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.004618/2.123, allocations: 3.335 MB / 0.8307 GB, free: 59.58 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.123, allocations: 0 / 0.8307 GB, free: 59.58 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/2.125, allocations: 1.405 MB / 0.8321 GB, free: 58.17 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/2.125, allocations: 20.44 kB / 0.8321 GB, free: 58.16 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/2.139, allocations: 9.745 MB / 0.8416 GB, free: 48.34 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/2.141, allocations: 1.371 MB / 0.8429 GB, free: 46.94 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.004143/2.145, allocations: 0.9685 MB / 0.8439 GB, free: 45.96 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/2.147, allocations: 437.3 kB / 0.8443 GB, free: 45.54 MB / 0.5421 GB Notification: Performance of SimCode: time 2.134e-06/2.147, allocations: 0 / 0.8443 GB, free: 45.54 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07423/2.221, allocations: 28.96 MB / 0.8726 GB, free: 16.69 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/2.222, allocations: 198.1 kB / 0.8728 GB, free: 16.5 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.362/5.584, allocations: 0 / 0.8728 GB, free: 16.5 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16_res.mat does not exist to compare? outputFormat=mat