Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_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_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_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.001042/0.001042, allocations: 95.89 kB / 16.3 MB, free: 5.992 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.0009578/0.0009578, allocations: 182 kB / 17.2 MB, free: 5.906 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.285/1.285, allocations: 223.2 MB / 241.1 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8101/0.8101, allocations: 120.5 MB / 412.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 8 kB / 0.4942 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1568, allocations: 82.86 MB / 0.5752 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.001729/0.1586, allocations: 1.418 MB / 0.5766 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.1593, allocations: 0.5423 MB / 0.5771 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.1593, allocations: 0 / 0.5771 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1595, allocations: 23.84 kB / 0.5771 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.1596, allocations: 51.81 kB / 0.5772 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.1598, allocations: 55.86 kB / 0.5772 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.1602, allocations: 392.4 kB / 0.5776 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.1603, allocations: 48.72 kB / 0.5776 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1605, allocations: 191.5 kB / 0.5778 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.1608, allocations: 227.2 kB / 0.578 GB, free: 5.078 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.1609, allocations: 20 kB / 0.578 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.03e-05/0.1609, allocations: 24 kB / 0.5781 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.161, allocations: 115.7 kB / 0.5782 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.1611, allocations: 85.52 kB / 0.5783 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.1616, allocations: 407.3 kB / 0.5786 GB, free: 4.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1616, allocations: 0 / 0.5786 GB, free: 4.434 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1617, allocations: 4 kB / 0.5787 GB, free: 4.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1617, allocations: 0 / 0.5787 GB, free: 4.43 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001656/0.1633, allocations: 0.8869 MB / 0.5795 GB, free: 3.496 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1634, allocations: 8.031 kB / 0.5795 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.1634, allocations: 70.53 kB / 0.5796 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.1635, allocations: 47.48 kB / 0.5796 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.164, allocations: 341.5 kB / 0.58 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.1641, allocations: 32.66 kB / 0.58 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.1643, allocations: 67.88 kB / 0.5801 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1653, allocations: 0.5211 MB / 0.5806 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1654, allocations: 0 / 0.5806 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.1654, allocations: 19.95 kB / 0.5806 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.1655, allocations: 12.66 kB / 0.5806 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.1662, allocations: 0.5021 MB / 0.5811 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/0.1695, allocations: 1.592 MB / 0.5826 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4472/0.6167, allocations: 0.864 MB / 0.5835 GB, free: 16.07 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.6167, allocations: 7.5 kB / 0.5835 GB, free: 16.07 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.6168, allocations: 39.69 kB / 0.5835 GB, free: 16.03 MB / 446.3 MB Notification: Performance of pre-optimization done (n=52): time 2.856e-06/0.6168, allocations: 0 / 0.5835 GB, free: 16.03 MB / 446.3 MB Notification: Performance of matching and sorting (n=52): time 0.001597/0.6184, allocations: 0.9873 MB / 0.5845 GB, free: 15.98 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.6184, allocations: 59.88 kB / 0.5846 GB, free: 15.92 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.6187, allocations: 317 kB / 0.5849 GB, free: 15.82 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.6188, allocations: 41.36 kB / 0.5849 GB, free: 15.79 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.6189, allocations: 168.2 kB / 0.5851 GB, free: 15.68 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.619, allocations: 203.6 kB / 0.5853 GB, free: 15.57 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.6191, allocations: 16.94 kB / 0.5853 GB, free: 15.57 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.6192, allocations: 358.8 kB / 0.5856 GB, free: 15.25 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/0.62, allocations: 410.2 kB / 0.586 GB, free: 15.25 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006732/0.6206, allocations: 496.8 kB / 0.5865 GB, free: 15.18 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.6213, allocations: 482.3 kB / 0.5869 GB, free: 15.06 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6213, allocations: 0.9375 kB / 0.5869 GB, free: 15.06 MB / 446.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00161/0.6229, allocations: 1.027 MB / 0.5879 GB, free: 14.73 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.623, allocations: 10.69 kB / 0.5879 GB, free: 14.73 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.623, allocations: 1.844 kB / 0.588 GB, free: 14.73 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.623, allocations: 5.25 kB / 0.588 GB, free: 14.73 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/0.6239, allocations: 228.3 kB / 0.5882 GB, free: 14.72 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.624, allocations: 7.312 kB / 0.5882 GB, free: 14.72 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.6243, allocations: 81.86 kB / 0.5883 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.6244, allocations: 25.52 kB / 0.5883 GB, free: 14.68 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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.000259/0.6247, allocations: 221.7 kB / 0.5885 GB, free: 14.52 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.6248, allocations: 43.58 kB / 0.5885 GB, free: 14.5 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.6262, allocations: 0.7976 MB / 0.5893 GB, free: 14.22 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.6262, allocations: 5.125 kB / 0.5893 GB, free: 14.22 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6262, allocations: 1.125 kB / 0.5893 GB, free: 14.22 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6263, allocations: 2.953 kB / 0.5893 GB, free: 14.22 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/0.6269, allocations: 0.5763 MB / 0.5899 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6269, allocations: 0 / 0.5899 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.6279, allocations: 209.7 kB / 0.5901 GB, free: 13.9 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.628, allocations: 5.172 kB / 0.5901 GB, free: 13.9 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/0.628, allocations: 30.92 kB / 0.5901 GB, free: 13.89 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.628, allocations: 2.469 kB / 0.5901 GB, free: 13.89 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.628, allocations: 0 / 0.5901 GB, free: 13.89 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.6298, allocations: 1.221 MB / 0.5913 GB, free: 13.44 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.6301, allocations: 187.7 kB / 0.5915 GB, free: 13.31 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.6302, allocations: 36.81 kB / 0.5915 GB, free: 13.29 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.6305, allocations: 44.69 kB / 0.5916 GB, free: 13.29 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.6306, allocations: 33.94 kB / 0.5916 GB, free: 13.28 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.6306, allocations: 15.34 kB / 0.5916 GB, free: 13.28 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0001912/0.6308, allocations: 222.3 kB / 0.5918 GB, free: 13.16 MB / 446.3 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6308, allocations: 0 / 0.5918 GB, free: 13.16 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004209/0.6312, allocations: 136.5 kB / 0.592 GB, free: 13.14 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (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) * 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 (54): * Single equations (assignments): 54 * 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.0018/0.6331, allocations: 1.785 MB / 0.5937 GB, free: 12.14 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.6342, allocations: 0.8223 MB / 0.5945 GB, free: 11.93 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6342, allocations: 1.344 kB / 0.5945 GB, free: 11.93 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.6347, allocations: 367.9 kB / 0.5949 GB, free: 11.82 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.6349, allocations: 22.42 kB / 0.5949 GB, free: 11.81 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006605/0.6415, allocations: 6.315 MB / 0.601 GB, free: 8.016 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.6418, allocations: 0.9057 MB / 0.6019 GB, free: 7.305 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0007011/0.6425, allocations: 255 kB / 0.6022 GB, free: 7.289 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.6427, allocations: 129.8 kB / 0.6023 GB, free: 7.199 MB / 446.3 MB Notification: Performance of SimCode: time 9.11e-07/0.6427, allocations: 1.25 kB / 0.6023 GB, free: 7.199 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.6626, allocations: 8.847 MB / 0.6109 GB, free: 3.238 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.6628, allocations: 236.7 kB / 0.6112 GB, free: 2.996 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.45, allocations: 4.703 kB / 0.6112 GB, free: 2.996 MB / 446.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_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_2_M_4_res.mat does not exist to compare? outputFormat=mat