Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.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_8_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_8",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.002118/0.002118, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 221.3 MB / 235.5 MB, free: 2.883 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.001007/0.001007, allocations: 86.8 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.703/1.703, allocations: 120.4 MB / 457.8 MB, free: 7.035 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 5.806e-05/5.84e-05, allocations: 4 kB / 0.5358 GB, free: 12.08 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.066, allocations: 82.83 MB / 0.6167 GB, free: 9.324 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/1.274, allocations: 126.3 MB / 0.74 GB, free: 10.93 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.275, allocations: 55.91 kB / 0.7401 GB, free: 10.87 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.282/2.557, allocations: 84.59 MB / 0.8227 GB, free: 68.61 MB / 0.5421 GB Notification: Performance of FrontEnd: time 3.065e-06/2.557, allocations: 0 / 0.8227 GB, free: 68.61 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0002132/2.557, allocations: 48 kB / 0.8227 GB, free: 68.56 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: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.01408/2.571, allocations: 4.037 MB / 0.8267 GB, free: 64.47 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/2.571, allocations: 8.031 kB / 0.8267 GB, free: 64.46 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001794/2.573, allocations: 285.8 kB / 0.8269 GB, free: 64.17 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/2.575, allocations: 209.6 kB / 0.8271 GB, free: 63.96 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009705/2.585, allocations: 2.778 MB / 0.8299 GB, free: 61.14 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/2.585, allocations: 163.6 kB / 0.83 GB, free: 60.98 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002585/2.588, allocations: 355.4 kB / 0.8304 GB, free: 60.64 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/2.599, allocations: 3.31 MB / 0.8336 GB, free: 57.31 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002082/2.599, allocations: 15.89 kB / 0.8336 GB, free: 57.3 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001279/2.6, allocations: 76 kB / 0.8337 GB, free: 57.22 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/2.6, allocations: 67.67 kB / 0.8337 GB, free: 57.16 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008552/2.609, allocations: 4.035 MB / 0.8377 GB, free: 53.12 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02796/2.637, allocations: 9.803 MB / 0.8473 GB, free: 43.25 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/2.647, allocations: 5.534 MB / 0.8527 GB, free: 37.71 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004839/2.652, allocations: 2.742 MB / 0.8553 GB, free: 34.96 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005507/2.653, allocations: 46.56 kB / 0.8554 GB, free: 34.91 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.408e-05/2.653, allocations: 73.05 kB / 0.8555 GB, free: 34.83 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=330): time 7.344e-06/2.653, allocations: 0 / 0.8555 GB, free: 34.83 MB / 0.5421 GB Notification: Performance of matching and sorting (n=330): time 0.01159/2.664, allocations: 4.727 MB / 0.8601 GB, free: 30.06 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/2.665, allocations: 86 kB / 0.8601 GB, free: 29.96 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/2.666, allocations: 0.7967 MB / 0.8609 GB, free: 29.16 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001181/2.667, allocations: 97.7 kB / 0.861 GB, free: 29.05 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007491/2.668, allocations: 0.4963 MB / 0.8615 GB, free: 28.55 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001926/2.67, allocations: 1.244 MB / 0.8627 GB, free: 27.29 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009103/2.671, allocations: 79.94 kB / 0.8628 GB, free: 27.21 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0004669/2.671, allocations: 0.5185 MB / 0.8633 GB, free: 26.68 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004939/2.676, allocations: 2.728 MB / 0.866 GB, free: 23.95 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005375/2.682, allocations: 3.131 MB / 0.869 GB, free: 20.75 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005644/2.687, allocations: 3.141 MB / 0.8721 GB, free: 17.6 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/2.688, allocations: 0 / 0.8721 GB, free: 17.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01472/2.702, allocations: 6.533 MB / 0.8785 GB, free: 11.05 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/2.702, allocations: 8 kB / 0.8785 GB, free: 11.04 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/2.702, allocations: 7.953 kB / 0.8785 GB, free: 11.03 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.959e-05/2.703, allocations: 24.75 kB / 0.8785 GB, free: 11.01 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007094/2.71, allocations: 1.365 MB / 0.8798 GB, free: 9.641 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/2.71, allocations: 24 kB / 0.8799 GB, free: 9.617 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/2.714, allocations: 0.512 MB / 0.8804 GB, free: 9.102 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/2.715, allocations: 124 kB / 0.8805 GB, free: 8.98 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (492): * Single equations (assignments): 492 * 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.002123/2.718, allocations: 292.1 kB / 0.8808 GB, free: 8.688 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/2.719, allocations: 169.9 kB / 0.8809 GB, free: 8.52 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/2.731, allocations: 5.824 MB / 0.8866 GB, free: 2.652 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/2.731, allocations: 39.95 kB / 0.8867 GB, free: 2.613 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/2.731, allocations: 4 kB / 0.8867 GB, free: 2.609 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.472e-05/2.731, allocations: 19.92 kB / 0.8867 GB, free: 2.59 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/2.737, allocations: 3.093 MB / 0.8897 GB, free: 15.43 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.356e-05/2.737, allocations: 3.953 kB / 0.8897 GB, free: 15.43 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007541/2.745, allocations: 1.334 MB / 0.891 GB, free: 14.09 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.615e-05/2.745, allocations: 19.94 kB / 0.891 GB, free: 14.07 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001138/2.746, allocations: 179.8 kB / 0.8912 GB, free: 13.89 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.052e-05/2.746, allocations: 12 kB / 0.8912 GB, free: 13.88 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/2.746, allocations: 4 kB / 0.8912 GB, free: 13.88 MB / 0.5578 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/2.762, allocations: 7.882 MB / 0.8989 GB, free: 5.926 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002683/2.765, allocations: 0.7866 MB / 0.8997 GB, free: 5.117 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/2.766, allocations: 159.9 kB / 0.8998 GB, free: 4.961 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/2.769, allocations: 287.6 kB / 0.9001 GB, free: 4.68 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007613/2.769, allocations: 222.7 kB / 0.9003 GB, free: 4.461 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005386/2.77, allocations: 95.97 kB / 0.9004 GB, free: 4.367 MB / 0.5578 GB Notification: Performance of sorting global known variables: time 0.0009314/2.771, allocations: 0.5889 MB / 0.901 GB, free: 3.781 MB / 0.5578 GB Notification: Performance of sort global known variables: time 4.11e-07/2.771, allocations: 3.938 kB / 0.901 GB, free: 3.777 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.003112/2.774, allocations: 0.812 MB / 0.9018 GB, free: 2.965 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 129 (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].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].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].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].err_p_t_int,generator[4].err_p_int,generator[5].theta,generator[5].omega,generator[5].p,generator[5].q_ev,generator[5].y_t,generator[5].p_t_lp,generator[5].T_s[1],generator[5].T_s[2],generator[5].T_s[3],generator[5].T_s[4],generator[5].T_s[5],generator[5].T_s[6],generator[5].T_s[7],generator[5].T_s[8],generator[5].err_p_t_int,generator[5].err_p_int,generator[6].theta,generator[6].omega,generator[6].p,generator[6].q_ev,generator[6].y_t,generator[6].p_t_lp,generator[6].T_s[1],generator[6].T_s[2],generator[6].T_s[3],generator[6].T_s[4],generator[6].T_s[5],generator[6].T_s[6],generator[6].T_s[7],generator[6].T_s[8],generator[6].err_p_t_int,generator[6].err_p_int,generator[7].theta,generator[7].omega,generator[7].p,generator[7].q_ev,generator[7].y_t,generator[7].p_t_lp,generator[7].T_s[1],generator[7].T_s[2],generator[7].T_s[3],generator[7].T_s[4],generator[7].T_s[5],generator[7].T_s[6],generator[7].T_s[7],generator[7].T_s[8],generator[7].err_p_t_int,generator[7].err_p_int,generator[8].theta,generator[8].omega,generator[8].p,generator[8].q_ev,generator[8].y_t,generator[8].p_t_lp,generator[8].T_s[1],generator[8].T_s[2],generator[8].T_s[3],generator[8].T_s[4],generator[8].T_s[5],generator[8].T_s[6],generator[8].T_s[7],generator[8].T_s[8],generator[8].err_p_t_int,generator[8].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (386): * Single equations (assignments): 386 * 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.0144/2.788, allocations: 8.649 MB / 0.9102 GB, free: 10.24 MB / 0.5734 GB Notification: Performance of simCode: created initialization part: time 0.0107/2.799, allocations: 5.699 MB / 0.9158 GB, free: 4.527 MB / 0.5734 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/2.799, allocations: 0 / 0.9158 GB, free: 4.527 MB / 0.5734 GB Notification: Performance of simCode: created simulation system equations: time 0.004384/2.804, allocations: 2.679 MB / 0.9184 GB, free: 1.848 MB / 0.5734 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/2.805, allocations: 87.31 kB / 0.9185 GB, free: 1.762 MB / 0.5734 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/2.827, allocations: 14.88 MB / 0.933 GB, free: 2.781 MB / 0.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/2.83, allocations: 1.878 MB / 0.9349 GB, free: 0.8633 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.005598/2.835, allocations: 1.636 MB / 0.9364 GB, free: 15.22 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003036/2.838, allocations: 0.8194 MB / 0.9373 GB, free: 14.4 MB / 0.6046 GB Notification: Performance of SimCode: time 1.162e-06/2.838, allocations: 0 / 0.9373 GB, free: 14.4 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09606/2.934, allocations: 50.79 MB / 0.9869 GB, free: 11.87 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/2.935, allocations: 203.5 kB / 0.987 GB, free: 11.64 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.11/7.045, allocations: 3.938 kB / 0.987 GB, free: 11.64 MB / 0.6515 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_8_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_8.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8_res.mat does not exist to compare? outputFormat=mat