Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.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_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8",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.001223/0.001223, allocations: 96.92 kB / 16.3 MB, free: 5.562 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.001101/0.001101, allocations: 183.7 kB / 17.2 MB, free: 5.496 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.331/1.331, allocations: 223.2 MB / 241.1 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9099/0.9099, allocations: 120.5 MB / 412.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 8 kB / 0.4943 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.5388, allocations: 82.84 MB / 0.5752 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8): time 0.001314/0.5402, allocations: 1.421 MB / 0.5765 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006535/0.5409, allocations: 0.5329 MB / 0.5771 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.5409, allocations: 3.938 kB / 0.5771 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.541, allocations: 23.89 kB / 0.5771 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.5412, allocations: 51.73 kB / 0.5771 GB, free: 40.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.5413, allocations: 58.17 kB / 0.5772 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009301/0.5423, allocations: 0.981 MB / 0.5782 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.5424, allocations: 99.41 kB / 0.5782 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004296/0.5428, allocations: 0.5201 MB / 0.5788 GB, free: 39.26 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006424/0.5435, allocations: 0.5955 MB / 0.5793 GB, free: 38.89 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.5436, allocations: 62.62 kB / 0.5794 GB, free: 38.89 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.5438, allocations: 62.75 kB / 0.5795 GB, free: 38.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.5441, allocations: 327.7 kB / 0.5798 GB, free: 38.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.5442, allocations: 173.1 kB / 0.5799 GB, free: 38.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0009976/0.5452, allocations: 1.096 MB / 0.581 GB, free: 37.92 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.5453, allocations: 0 / 0.581 GB, free: 37.92 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.574e-06/0.5453, allocations: 0 / 0.581 GB, free: 37.92 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.5453, allocations: 0 / 0.581 GB, free: 37.92 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.004592/0.5499, allocations: 1.938 MB / 0.5829 GB, free: 36.77 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.55, allocations: 9.219 kB / 0.5829 GB, free: 36.77 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/0.5502, allocations: 141 kB / 0.583 GB, free: 36.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.5504, allocations: 102.5 kB / 0.5831 GB, free: 36.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.5516, allocations: 0.6317 MB / 0.5838 GB, free: 36.2 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.5518, allocations: 73.09 kB / 0.5838 GB, free: 36.16 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004339/0.5523, allocations: 160.6 kB / 0.584 GB, free: 36.1 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.5542, allocations: 1.444 MB / 0.5854 GB, free: 35.3 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.5543, allocations: 17.27 kB / 0.5854 GB, free: 35.29 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.5544, allocations: 31.31 kB / 0.5854 GB, free: 35.26 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.5544, allocations: 28.94 kB / 0.5855 GB, free: 35.26 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.5564, allocations: 1.455 MB / 0.5869 GB, free: 34.25 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008933/0.5653, allocations: 4.326 MB / 0.5911 GB, free: 29.87 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.5681, allocations: 2.276 MB / 0.5933 GB, free: 27.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.5683, allocations: 21.3 kB / 0.5934 GB, free: 27.57 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5683, allocations: 47.98 kB / 0.5934 GB, free: 27.51 MB / 462.3 MB Notification: Performance of pre-optimization done (n=134): time 3.897e-06/0.5683, allocations: 3.938 kB / 0.5934 GB, free: 27.51 MB / 462.3 MB Notification: Performance of matching and sorting (n=134): time 0.00366/0.572, allocations: 2.802 MB / 0.5961 GB, free: 24.7 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.572, allocations: 68.7 kB / 0.5962 GB, free: 24.62 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.5725, allocations: 0.5017 MB / 0.5967 GB, free: 24.11 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.5726, allocations: 61.64 kB / 0.5968 GB, free: 24.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.5728, allocations: 281.7 kB / 0.597 GB, free: 23.76 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.573, allocations: 0.5277 MB / 0.5975 GB, free: 23.22 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.5731, allocations: 36 kB / 0.5976 GB, free: 23.19 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.5732, allocations: 414.7 kB / 0.598 GB, free: 22.77 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.5745, allocations: 1.194 MB / 0.5991 GB, free: 21.58 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.576, allocations: 1.384 MB / 0.6005 GB, free: 20.15 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.5775, allocations: 1.38 MB / 0.6018 GB, free: 18.77 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5775, allocations: 0 / 0.6018 GB, free: 18.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003313/0.5808, allocations: 2.889 MB / 0.6047 GB, free: 15.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.5808, allocations: 4.406 kB / 0.6047 GB, free: 15.87 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5808, allocations: 8 kB / 0.6047 GB, free: 15.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/0.5809, allocations: 19.92 kB / 0.6047 GB, free: 15.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/0.5836, allocations: 0.6125 MB / 0.6053 GB, free: 15.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.5836, allocations: 12 kB / 0.6053 GB, free: 15.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.5848, allocations: 234.3 kB / 0.6055 GB, free: 14.99 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.5849, allocations: 52 kB / 0.6056 GB, free: 14.94 MB / 462.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 (216): * Single equations (assignments): 216 * 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.0004783/0.5854, allocations: 401.1 kB / 0.6059 GB, free: 14.54 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.5855, allocations: 75.06 kB / 0.606 GB, free: 14.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.5883, allocations: 2.296 MB / 0.6083 GB, free: 12.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5883, allocations: 19.94 kB / 0.6083 GB, free: 12.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5884, allocations: 0 / 0.6083 GB, free: 12.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.5884, allocations: 7.969 kB / 0.6083 GB, free: 12.13 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.5897, allocations: 1.352 MB / 0.6096 GB, free: 10.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.5897, allocations: 4 kB / 0.6096 GB, free: 10.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00269/0.5924, allocations: 0.5814 MB / 0.6102 GB, free: 10.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.5924, allocations: 8 kB / 0.6102 GB, free: 10.13 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.5926, allocations: 83.91 kB / 0.6103 GB, free: 10.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.5926, allocations: 4 kB / 0.6103 GB, free: 10.05 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5926, allocations: 0 / 0.6103 GB, free: 10.05 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/0.5962, allocations: 3.284 MB / 0.6135 GB, free: 6.738 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007691/0.597, allocations: 387.5 kB / 0.6138 GB, free: 6.34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.5972, allocations: 75.94 kB / 0.6139 GB, free: 6.266 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.5981, allocations: 115.8 kB / 0.614 GB, free: 6.152 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.5982, allocations: 81.19 kB / 0.6141 GB, free: 6.074 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/0.5983, allocations: 39.98 kB / 0.6141 GB, free: 6.035 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0003147/0.5986, allocations: 351 kB / 0.6145 GB, free: 5.699 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5986, allocations: 0 / 0.6145 GB, free: 5.699 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.001054/0.5997, allocations: 351.8 kB / 0.6148 GB, free: 5.355 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 65 (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) * 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 (146): * Single equations (assignments): 146 * 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.00369/0.6034, allocations: 3.912 MB / 0.6186 GB, free: 1.414 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.003204/0.6066, allocations: 2.404 MB / 0.621 GB, free: 15.01 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6066, allocations: 0 / 0.621 GB, free: 15.01 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.6081, allocations: 1.062 MB / 0.622 GB, free: 13.95 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.6085, allocations: 38.78 kB / 0.6221 GB, free: 13.91 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/0.6267, allocations: 15.5 MB / 0.6372 GB, free: 14.14 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/0.6276, allocations: 1.221 MB / 0.6384 GB, free: 12.89 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.001472/0.6291, allocations: 0.6821 MB / 0.6391 GB, free: 12.2 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/0.6297, allocations: 330.3 kB / 0.6394 GB, free: 11.88 MB / 494.3 MB Notification: Performance of SimCode: time 7.81e-07/0.6297, allocations: 4 kB / 0.6394 GB, free: 11.88 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.6674, allocations: 22.48 MB / 0.6613 GB, free: 5.668 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.6677, allocations: 239.9 kB / 0.6616 GB, free: 5.422 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/2.874, allocations: 0 / 0.6616 GB, free: 5.422 MB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.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_8_res.mat does not exist to compare? outputFormat=mat