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"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 187 kB / 8.136 MB, free: 2.184 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.043/1.043, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0008603/0.0008603, allocations: 104.2 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5965/0.5965, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2999/0.8965, allocations: 88.96 MB / 0.5283 GB, free: 52.34 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.9986, allocations: 82.84 MB / 0.6092 GB, free: 3.477 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/1.416, allocations: 125.5 MB / 0.7318 GB, free: 4.32 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000109/1.416, allocations: 46.5 kB / 0.7318 GB, free: 4.305 MB / 0.4953 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.2593/1.676, allocations: 86.01 MB / 0.8158 GB, free: 9.879 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/1.676, allocations: 8 kB / 0.8158 GB, free: 9.871 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006574/1.676, allocations: 221.6 kB / 0.816 GB, free: 9.652 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007656/1.684, allocations: 2.537 MB / 0.8185 GB, free: 7.215 MB / 0.5734 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/1.684, allocations: 59.94 kB / 0.8186 GB, free: 7.156 MB / 0.5734 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008652/1.685, allocations: 250.9 kB / 0.8188 GB, free: 6.926 MB / 0.5734 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00499/1.69, allocations: 4.084 MB / 0.8228 GB, free: 3.719 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/1.694, allocations: 3.227 MB / 0.826 GB, free: 1.148 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/1.694, allocations: 4 kB / 0.826 GB, free: 1.145 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/1.694, allocations: 3.938 kB / 0.826 GB, free: 1.141 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/1.694, allocations: 63.67 kB / 0.826 GB, free: 1.078 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/1.709, allocations: 8.54 MB / 0.8344 GB, free: 9.961 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/1.713, allocations: 2.785 MB / 0.8371 GB, free: 7.906 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/1.716, allocations: 2.761 MB / 0.8398 GB, free: 5.926 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/1.716, allocations: 50.48 kB / 0.8398 GB, free: 5.879 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/1.716, allocations: 63.84 kB / 0.8399 GB, free: 5.824 MB / 0.589 GB Notification: Performance of pre-optimization done (n=330): time 4.799e-06/1.716, allocations: 0 / 0.8399 GB, free: 5.824 MB / 0.589 GB Notification: Performance of matching and sorting (n=330): time 0.00593/1.722, allocations: 4.75 MB / 0.8445 GB, free: 2.062 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/1.722, allocations: 89.98 kB / 0.8446 GB, free: 1.961 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/1.722, allocations: 0.7296 MB / 0.8453 GB, free: 1.383 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 0.0002372/1.723, allocations: 25.7 kB / 0.8454 GB, free: 1.352 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/1.723, allocations: 385.6 kB / 0.8457 GB, free: 1.012 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007727/1.724, allocations: 1.21 MB / 0.8469 GB, free: 15.94 MB / 0.6046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/1.724, allocations: 0 / 0.8469 GB, free: 15.94 MB / 0.6046 GB Notification: Performance of setup shared object (initialization): time 0.0002335/1.724, allocations: 0.5148 MB / 0.8474 GB, free: 15.5 MB / 0.6046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/1.728, allocations: 2.819 MB / 0.8502 GB, free: 13.38 MB / 0.6046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/1.731, allocations: 3.185 MB / 0.8533 GB, free: 10.88 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/1.735, allocations: 3.234 MB / 0.8564 GB, free: 8.371 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/1.735, allocations: 4 kB / 0.8564 GB, free: 8.367 MB / 0.6046 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.008101/1.743, allocations: 6.587 MB / 0.8629 GB, free: 3.164 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.743, allocations: 8.781 kB / 0.8629 GB, free: 3.156 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.743, allocations: 7.906 kB / 0.8629 GB, free: 3.148 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/1.743, allocations: 28 kB / 0.8629 GB, free: 3.121 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005745/1.749, allocations: 1.227 MB / 0.8641 GB, free: 1.926 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/1.749, allocations: 23.94 kB / 0.8641 GB, free: 1.902 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.751, allocations: 344.6 kB / 0.8645 GB, free: 1.562 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/1.751, allocations: 118.5 kB / 0.8646 GB, free: 1.477 MB / 0.6046 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.0005102/1.752, allocations: 164.2 kB / 0.8647 GB, free: 1.309 MB / 0.6046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/1.752, allocations: 161.9 kB / 0.8649 GB, free: 1.148 MB / 0.6046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007252/1.759, allocations: 5.686 MB / 0.8704 GB, free: 12.85 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/1.759, allocations: 39.94 kB / 0.8705 GB, free: 12.81 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.759, allocations: 0 / 0.8705 GB, free: 12.81 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.909e-05/1.759, allocations: 23.86 kB / 0.8705 GB, free: 12.79 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/1.763, allocations: 2.893 MB / 0.8733 GB, free: 10.43 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/1.763, allocations: 0 / 0.8733 GB, free: 10.43 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006743/1.769, allocations: 1.205 MB / 0.8745 GB, free: 9.258 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/1.769, allocations: 12 kB / 0.8745 GB, free: 9.246 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003441/1.77, allocations: 142.9 kB / 0.8746 GB, free: 9.133 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/1.77, allocations: 15.91 kB / 0.8747 GB, free: 9.117 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.77, allocations: 4 kB / 0.8747 GB, free: 9.113 MB / 0.6203 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008908/1.779, allocations: 7.938 MB / 0.8824 GB, free: 2.957 MB / 0.6203 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01286/1.792, allocations: 11.83 MB / 0.894 GB, free: 9.84 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/1.793, allocations: 0.7646 MB / 0.8947 GB, free: 9.133 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005572/1.794, allocations: 123.3 kB / 0.8948 GB, free: 9.027 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/1.795, allocations: 131.8 kB / 0.895 GB, free: 8.898 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/1.796, allocations: 185.3 kB / 0.8951 GB, free: 8.742 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/1.796, allocations: 98.97 kB / 0.8952 GB, free: 8.668 MB / 0.6359 GB Notification: Performance of sort global known variables: time 0.0005295/1.797, allocations: 0.5297 MB / 0.8957 GB, free: 8.258 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.002154/1.799, allocations: 0.6985 MB / 0.8964 GB, free: 7.555 MB / 0.6359 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.0004114/1.799, allocations: 233.2 kB / 0.8966 GB, free: 7.32 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.007009/1.806, allocations: 5.811 MB / 0.9023 GB, free: 2.867 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.806, allocations: 0 / 0.9023 GB, free: 2.867 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.002946/1.809, allocations: 2.722 MB / 0.905 GB, free: 0.8164 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/1.81, allocations: 34.36 kB / 0.905 GB, free: 0.8047 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/1.826, allocations: 13.48 MB / 0.9182 GB, free: 4 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003349/1.83, allocations: 2.558 MB / 0.9207 GB, free: 1.508 MB / 0.6515 GB Notification: Performance of SimCode: time 5.71e-07/1.83, allocations: 0 / 0.9207 GB, free: 1.508 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