Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 93.95 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008618/0.0008618, allocations: 184.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7333/0.7333, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.00029, allocations: 12 kB / 0.4943 GB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1469, allocations: 82.84 MB / 0.5752 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4): time 0.001789/0.1487, allocations: 1.426 MB / 0.5766 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.1495, allocations: 0.5424 MB / 0.5771 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.1496, allocations: 3.938 kB / 0.5771 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1497, allocations: 15.89 kB / 0.5771 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.1498, allocations: 51.83 kB / 0.5771 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.15, allocations: 67.8 kB / 0.5772 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007642/0.1508, allocations: 0.7871 MB / 0.578 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1509, allocations: 85.75 kB / 0.5781 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004654/0.1514, allocations: 410.9 kB / 0.5785 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007256/0.1522, allocations: 482.5 kB / 0.5789 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.1523, allocations: 48 kB / 0.579 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1524, allocations: 52 kB / 0.579 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.1527, allocations: 247.3 kB / 0.5792 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.1528, allocations: 157.3 kB / 0.5794 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.1535, allocations: 0.8459 MB / 0.5802 GB, free: 2.801 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1535, allocations: 0 / 0.5802 GB, free: 2.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1535, allocations: 0 / 0.5802 GB, free: 2.801 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1535, allocations: 0 / 0.5802 GB, free: 2.801 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003466/0.157, allocations: 1.548 MB / 0.5817 GB, free: 1.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.157, allocations: 12.03 kB / 0.5817 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.1572, allocations: 118.5 kB / 0.5819 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.1573, allocations: 94.91 kB / 0.582 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.1585, allocations: 0.5281 MB / 0.5825 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.1585, allocations: 58 kB / 0.5825 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/0.1589, allocations: 139.8 kB / 0.5827 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4183/0.5772, allocations: 1.138 MB / 0.5838 GB, free: 15.34 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.5773, allocations: 5.875 kB / 0.5838 GB, free: 15.34 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.5774, allocations: 25.41 kB / 0.5838 GB, free: 15.34 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.5774, allocations: 29.53 kB / 0.5838 GB, free: 15.33 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.5794, allocations: 1.234 MB / 0.585 GB, free: 15.32 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007391/0.5868, allocations: 3.242 MB / 0.5882 GB, free: 14.68 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.5898, allocations: 1.832 MB / 0.59 GB, free: 14.11 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.237e-05/0.5898, allocations: 14.19 kB / 0.59 GB, free: 14.11 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.5899, allocations: 44.06 kB / 0.59 GB, free: 14.07 MB / 446.3 MB Notification: Performance of pre-optimization done (n=118): time 2.635e-06/0.5899, allocations: 3 kB / 0.59 GB, free: 14.07 MB / 446.3 MB Notification: Performance of matching and sorting (n=118): time 0.003361/0.5932, allocations: 2.258 MB / 0.5922 GB, free: 13.41 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.5933, allocations: 64.06 kB / 0.5923 GB, free: 13.35 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.594, allocations: 0.5012 MB / 0.5928 GB, free: 13.14 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 8.563e-05/0.5941, allocations: 52.28 kB / 0.5928 GB, free: 13.09 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.5942, allocations: 266.6 kB / 0.5931 GB, free: 12.87 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.5945, allocations: 456.9 kB / 0.5935 GB, free: 12.52 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.5945, allocations: 30.31 kB / 0.5936 GB, free: 12.5 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5947, allocations: 403.8 kB / 0.594 GB, free: 12.15 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.5958, allocations: 0.8961 MB / 0.5948 GB, free: 11.92 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.5973, allocations: 1.062 MB / 0.5959 GB, free: 11.55 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.5987, allocations: 1.048 MB / 0.5969 GB, free: 11.23 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5987, allocations: 1.875 kB / 0.5969 GB, free: 11.23 MB / 446.3 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003034/0.6017, allocations: 2.221 MB / 0.5991 GB, free: 10.38 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6018, allocations: 6.344 kB / 0.5991 GB, free: 10.38 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.6018, allocations: 3.75 kB / 0.5991 GB, free: 10.38 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.6018, allocations: 14.08 kB / 0.5991 GB, free: 10.38 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.6039, allocations: 484.4 kB / 0.5995 GB, free: 10.25 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.432e-05/0.6039, allocations: 17.28 kB / 0.5996 GB, free: 10.24 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.6047, allocations: 189.2 kB / 0.5997 GB, free: 10.12 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.192e-05/0.6048, allocations: 45.59 kB / 0.5998 GB, free: 10.11 MB / 446.3 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 184 * 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.0003595/0.6052, allocations: 342.7 kB / 0.6001 GB, free: 9.863 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.6053, allocations: 68.22 kB / 0.6002 GB, free: 9.828 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.6079, allocations: 1.88 MB / 0.602 GB, free: 8.809 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.6079, allocations: 12.62 kB / 0.602 GB, free: 8.809 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.6079, allocations: 3.953 kB / 0.602 GB, free: 8.805 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.608, allocations: 7.969 kB / 0.602 GB, free: 8.797 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.6091, allocations: 1.126 MB / 0.6031 GB, free: 8.074 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6092, allocations: 4.969 kB / 0.6031 GB, free: 8.074 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/0.6113, allocations: 449.2 kB / 0.6036 GB, free: 7.961 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.6113, allocations: 3.812 kB / 0.6036 GB, free: 7.961 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.6114, allocations: 60.89 kB / 0.6036 GB, free: 7.926 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.6114, allocations: 9.125 kB / 0.6036 GB, free: 7.922 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6114, allocations: 0 / 0.6036 GB, free: 7.922 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/0.6146, allocations: 2.709 MB / 0.6063 GB, free: 6.578 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.6152, allocations: 327.5 kB / 0.6066 GB, free: 6.363 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.6153, allocations: 55.92 kB / 0.6067 GB, free: 6.332 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/0.6161, allocations: 96.94 kB / 0.6067 GB, free: 6.277 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.6162, allocations: 72.98 kB / 0.6068 GB, free: 6.238 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/0.6163, allocations: 29.56 kB / 0.6068 GB, free: 6.23 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0002973/0.6166, allocations: 363.2 kB / 0.6072 GB, free: 6.016 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6166, allocations: 0 / 0.6072 GB, free: 6.016 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0006509/0.6173, allocations: 287.2 kB / 0.6075 GB, free: 5.969 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 49 (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].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].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].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].err_p_t_int,generator[4].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.00321/0.6205, allocations: 3.314 MB / 0.6107 GB, free: 4.055 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.6229, allocations: 1.878 MB / 0.6125 GB, free: 3.109 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6229, allocations: 0.8125 kB / 0.6125 GB, free: 3.109 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.6238, allocations: 0.8622 MB / 0.6134 GB, free: 2.246 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.624, allocations: 43.06 kB / 0.6134 GB, free: 2.203 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.6377, allocations: 12.74 MB / 0.6259 GB, free: 5.266 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.6385, allocations: 1.147 MB / 0.627 GB, free: 4.094 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001119/0.6396, allocations: 0.5448 MB / 0.6275 GB, free: 3.543 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.6401, allocations: 291.3 kB / 0.6278 GB, free: 3.258 MB / 462.3 MB Notification: Performance of SimCode: time 2.285e-06/0.6402, allocations: 3.938 kB / 0.6278 GB, free: 3.254 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.6709, allocations: 18.3 MB / 0.6457 GB, free: 1.211 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.6711, allocations: 247.6 kB / 0.6459 GB, free: 0.957 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.847, allocations: 0 / 0.6459 GB, free: 0.957 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat does not exist to compare? outputFormat=mat