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.0008868/0.0008867, allocations: 87.89 kB / 16.31 MB, free: 6.008 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.0009943/0.0009943, allocations: 188 kB / 17.21 MB, free: 5.902 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.28/1.28, allocations: 223.2 MB / 241.2 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7484/0.7484, allocations: 120.5 MB / 412.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 8 kB / 0.4944 GB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1288, allocations: 82.84 MB / 0.5753 GB, free: 8.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.001666/0.1305, allocations: 1.476 MB / 0.5767 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006775/0.1312, allocations: 0.5306 MB / 0.5772 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.1313, allocations: 0 / 0.5772 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.945e-05/0.1314, allocations: 23.84 kB / 0.5772 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1316, allocations: 63.58 kB / 0.5773 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.1317, allocations: 59.92 kB / 0.5774 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007063/0.1325, allocations: 0.6322 MB / 0.578 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.929e-05/0.1325, allocations: 44.73 kB / 0.578 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.1327, allocations: 207.3 kB / 0.5782 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.133, allocations: 247.2 kB / 0.5785 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.1331, allocations: 20 kB / 0.5785 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.067e-05/0.1331, allocations: 24 kB / 0.5785 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.1333, allocations: 119.6 kB / 0.5786 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.1333, allocations: 89.52 kB / 0.5787 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1336, allocations: 407.3 kB / 0.5791 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1337, allocations: 0 / 0.5791 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1337, allocations: 0 / 0.5791 GB, free: 4.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1337, allocations: 0 / 0.5791 GB, free: 4.055 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.00178/0.1355, allocations: 0.8886 MB / 0.58 GB, free: 3.117 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1355, allocations: 8.031 kB / 0.58 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.009e-05/0.1356, allocations: 70.53 kB / 0.58 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/0.1357, allocations: 47.48 kB / 0.5801 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1361, allocations: 345.5 kB / 0.5804 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1361, allocations: 32.66 kB / 0.5804 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.1363, allocations: 63.89 kB / 0.5805 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.137, allocations: 0.5289 MB / 0.581 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1371, allocations: 0 / 0.581 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.1371, allocations: 19.95 kB / 0.581 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.1371, allocations: 8.656 kB / 0.581 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.1378, allocations: 0.4982 MB / 0.5815 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4043/0.5422, allocations: 1.585 MB / 0.5831 GB, free: 15.69 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.5438, allocations: 0.8757 MB / 0.5839 GB, free: 15.66 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.5445, allocations: 385.1 kB / 0.5843 GB, free: 15.65 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.5446, allocations: 5.594 kB / 0.5843 GB, free: 15.65 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.5446, allocations: 42.09 kB / 0.5843 GB, free: 15.61 MB / 446.2 MB Notification: Performance of pre-optimization done (n=52): time 2.044e-06/0.5446, allocations: 0 / 0.5843 GB, free: 15.61 MB / 446.2 MB Notification: Performance of matching and sorting (n=52): time 0.00148/0.5461, allocations: 0.9815 MB / 0.5853 GB, free: 15.56 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.5461, allocations: 58.45 kB / 0.5854 GB, free: 15.5 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.5464, allocations: 317.5 kB / 0.5857 GB, free: 15.4 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.5464, allocations: 44.52 kB / 0.5857 GB, free: 15.37 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.5465, allocations: 168.9 kB / 0.5859 GB, free: 15.26 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.5467, allocations: 204 kB / 0.5861 GB, free: 15.14 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.5467, allocations: 11.84 kB / 0.5861 GB, free: 15.14 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.5468, allocations: 355.3 kB / 0.5864 GB, free: 14.83 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/0.5475, allocations: 417.1 kB / 0.5868 GB, free: 14.79 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.5482, allocations: 0.4919 MB / 0.5873 GB, free: 14.61 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.5488, allocations: 474.4 kB / 0.5877 GB, free: 14.48 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.5488, allocations: 1.031 kB / 0.5877 GB, free: 14.48 MB / 446.2 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001557/0.5504, allocations: 1.03 MB / 0.5887 GB, free: 14.16 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5504, allocations: 9.547 kB / 0.5888 GB, free: 14.16 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5504, allocations: 2 kB / 0.5888 GB, free: 14.16 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5504, allocations: 5.031 kB / 0.5888 GB, free: 14.16 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/0.5513, allocations: 225.2 kB / 0.589 GB, free: 14.15 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.5513, allocations: 9.922 kB / 0.589 GB, free: 14.15 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.5517, allocations: 92.36 kB / 0.5891 GB, free: 14.11 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.5517, allocations: 24.73 kB / 0.5891 GB, free: 14.1 MB / 446.2 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.0001846/0.5519, allocations: 222.4 kB / 0.5893 GB, free: 13.95 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.552, allocations: 32.34 kB / 0.5893 GB, free: 13.93 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.5533, allocations: 0.8006 MB / 0.5901 GB, free: 13.65 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.5534, allocations: 5.75 kB / 0.5901 GB, free: 13.65 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5534, allocations: 0.7188 kB / 0.5901 GB, free: 13.65 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.5534, allocations: 2.812 kB / 0.5901 GB, free: 13.65 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006306/0.554, allocations: 0.5818 MB / 0.5907 GB, free: 13.34 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.554, allocations: 1.344 kB / 0.5907 GB, free: 13.34 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009808/0.555, allocations: 206.8 kB / 0.5909 GB, free: 13.33 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.555, allocations: 2.188 kB / 0.5909 GB, free: 13.33 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.5551, allocations: 27.12 kB / 0.5909 GB, free: 13.32 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.5551, allocations: 3.078 kB / 0.5909 GB, free: 13.32 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5551, allocations: 0 / 0.5909 GB, free: 13.32 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5568, allocations: 1.227 MB / 0.5921 GB, free: 12.87 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.557, allocations: 192.7 kB / 0.5923 GB, free: 12.73 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.953e-05/0.5571, allocations: 31.09 kB / 0.5923 GB, free: 12.72 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.5574, allocations: 44.59 kB / 0.5924 GB, free: 12.71 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.5575, allocations: 30.73 kB / 0.5924 GB, free: 12.71 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.5575, allocations: 14.31 kB / 0.5924 GB, free: 12.7 MB / 446.2 MB Notification: Performance of sorting global known variables: time 0.0001721/0.5577, allocations: 223 kB / 0.5926 GB, free: 12.59 MB / 446.2 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5577, allocations: 0 / 0.5926 GB, free: 12.59 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.0003888/0.5581, allocations: 127.9 kB / 0.5928 GB, free: 12.57 MB / 446.2 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.001728/0.5598, allocations: 1.794 MB / 0.5945 GB, free: 11.57 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.5609, allocations: 0.8265 MB / 0.5953 GB, free: 11.36 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5609, allocations: 0 / 0.5953 GB, free: 11.36 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.5615, allocations: 369 kB / 0.5957 GB, free: 11.26 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.5619, allocations: 26.39 kB / 0.5957 GB, free: 11.24 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.568, allocations: 5.286 MB / 0.6009 GB, free: 8.508 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5684, allocations: 0.9 MB / 0.6017 GB, free: 7.793 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 0.0005474/0.5689, allocations: 251 kB / 0.602 GB, free: 7.766 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.5691, allocations: 131.2 kB / 0.6021 GB, free: 7.668 MB / 446.2 MB Notification: Performance of SimCode: time 3.81e-07/0.5692, allocations: 0 / 0.6021 GB, free: 7.668 MB / 446.2 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.588, allocations: 8.876 MB / 0.6108 GB, free: 3.602 MB / 446.2 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/0.5881, allocations: 251.2 kB / 0.611 GB, free: 3.355 MB / 446.2 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.329, allocations: 0 / 0.611 GB, free: 3.355 MB / 446.2 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