Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",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.001101/0.001101, allocations: 97.39 kB / 16.3 MB, free: 5.535 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.001211/0.001211, allocations: 179.5 kB / 17.19 MB, free: 5.469 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.27/1.27, allocations: 223.2 MB / 241.1 MB, free: 400 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9398/0.9398, allocations: 120.5 MB / 412.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 8 kB / 0.4943 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.4833, allocations: 82.84 MB / 0.5752 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.001273/0.4846, allocations: 1.401 MB / 0.5765 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008797/0.4855, allocations: 0.5307 MB / 0.577 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.4855, allocations: 5.344 kB / 0.577 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.4857, allocations: 16.97 kB / 0.5771 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.4859, allocations: 51.39 kB / 0.5771 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.486, allocations: 65.78 kB / 0.5772 GB, free: 40.31 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.4863, allocations: 193.9 kB / 0.5774 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.448e-05/0.4864, allocations: 25.36 kB / 0.5774 GB, free: 40.17 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.4865, allocations: 109.1 kB / 0.5775 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.4867, allocations: 118.9 kB / 0.5776 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.4867, allocations: 14 kB / 0.5776 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.4868, allocations: 11.09 kB / 0.5776 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.4868, allocations: 51.69 kB / 0.5777 GB, free: 39.99 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.4869, allocations: 55.36 kB / 0.5777 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.487, allocations: 209.5 kB / 0.5779 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.487, allocations: 0 / 0.5779 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.774e-06/0.487, allocations: 0 / 0.5779 GB, free: 39.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.4871, allocations: 1.375 kB / 0.5779 GB, free: 39.82 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000966/0.488, allocations: 0.5863 MB / 0.5785 GB, free: 39.33 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.4881, allocations: 8.25 kB / 0.5785 GB, free: 39.33 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.4881, allocations: 49.42 kB / 0.5786 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.4882, allocations: 31.98 kB / 0.5786 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.4886, allocations: 256.2 kB / 0.5788 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4887, allocations: 15.2 kB / 0.5788 GB, free: 39.01 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.4888, allocations: 36.52 kB / 0.5789 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.4892, allocations: 307.8 kB / 0.5792 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4892, allocations: 0.8125 kB / 0.5792 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.4892, allocations: 6.094 kB / 0.5792 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.4892, allocations: 9.766 kB / 0.5792 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.4896, allocations: 231.7 kB / 0.5794 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.4914, allocations: 1.1 MB / 0.5805 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009504/0.4924, allocations: 444.5 kB / 0.5809 GB, free: 37.69 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.4924, allocations: 5.781 kB / 0.5809 GB, free: 37.68 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.4924, allocations: 32.41 kB / 0.5809 GB, free: 37.64 MB / 462.3 MB Notification: Performance of pre-optimization done (n=23): time 1.282e-06/0.4925, allocations: 3.938 kB / 0.5809 GB, free: 37.64 MB / 462.3 MB Notification: Performance of matching and sorting (n=23): time 0.0006526/0.4931, allocations: 466.9 kB / 0.5814 GB, free: 37.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.4931, allocations: 57.89 kB / 0.5814 GB, free: 37.34 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4933, allocations: 221.2 kB / 0.5817 GB, free: 37.18 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.4933, allocations: 34.95 kB / 0.5817 GB, free: 37.14 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.4934, allocations: 134.5 kB / 0.5818 GB, free: 37.01 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.4934, allocations: 94 kB / 0.5819 GB, free: 36.93 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.4935, allocations: 5.25 kB / 0.5819 GB, free: 36.93 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.4935, allocations: 333.2 kB / 0.5822 GB, free: 36.6 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.4938, allocations: 191.5 kB / 0.5824 GB, free: 36.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.494, allocations: 241.7 kB / 0.5826 GB, free: 36.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.4943, allocations: 222.3 kB / 0.5829 GB, free: 36.26 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4943, allocations: 0 / 0.5829 GB, free: 36.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007704/0.4951, allocations: 0.496 MB / 0.5833 GB, free: 36 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4951, allocations: 9 kB / 0.5834 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4951, allocations: 5.266 kB / 0.5834 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4951, allocations: 7.156 kB / 0.5834 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.4956, allocations: 110.8 kB / 0.5835 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.4956, allocations: 2.75 kB / 0.5835 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.4958, allocations: 45.45 kB / 0.5835 GB, free: 35.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.4958, allocations: 12.31 kB / 0.5835 GB, free: 35.93 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (41): * Single equations (assignments): 41 * 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.0001181/0.4959, allocations: 162.4 kB / 0.5837 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.496, allocations: 16.12 kB / 0.5837 GB, free: 35.78 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.4961, allocations: 39.39 kB / 0.5837 GB, free: 35.74 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4961, allocations: 6.781 kB / 0.5837 GB, free: 35.74 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4961, allocations: 0 / 0.5837 GB, free: 35.74 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4961, allocations: 0.9375 kB / 0.5837 GB, free: 35.74 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.4964, allocations: 360.7 kB / 0.5841 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4964, allocations: 0 / 0.5841 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.4969, allocations: 99.92 kB / 0.5842 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4969, allocations: 1.094 kB / 0.5842 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.497, allocations: 18.45 kB / 0.5842 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.497, allocations: 0.9062 kB / 0.5842 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.497, allocations: 0.9688 kB / 0.5842 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006413/0.4976, allocations: 0.6156 MB / 0.5848 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4978, allocations: 130.4 kB / 0.5849 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.4978, allocations: 13.86 kB / 0.5849 GB, free: 34.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.4981, allocations: 20.81 kB / 0.585 GB, free: 34.87 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.4982, allocations: 14.61 kB / 0.585 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.4982, allocations: 8.656 kB / 0.585 GB, free: 34.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001007/0.4983, allocations: 160.9 kB / 0.5851 GB, free: 34.74 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4983, allocations: 0 / 0.5851 GB, free: 34.74 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002949/0.4986, allocations: 68.84 kB / 0.5852 GB, free: 34.73 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (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) * 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 (23): * Single equations (assignments): 23 * 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.000774/0.4994, allocations: 1.168 MB / 0.5863 GB, free: 33.82 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.4999, allocations: 383.9 kB / 0.5867 GB, free: 33.65 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4999, allocations: 4.062 kB / 0.5867 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.5001, allocations: 168.8 kB / 0.5869 GB, free: 33.57 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.5003, allocations: 6.375 kB / 0.5869 GB, free: 33.56 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.5031, allocations: 3.364 MB / 0.5902 GB, free: 30.56 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.5033, allocations: 0.7989 MB / 0.5909 GB, free: 29.73 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.5035, allocations: 113.8 kB / 0.5911 GB, free: 29.62 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.5036, allocations: 63.42 kB / 0.5911 GB, free: 29.56 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.5036, allocations: 0 / 0.5911 GB, free: 29.56 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.5176, allocations: 4.687 MB / 0.5957 GB, free: 25.09 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/0.5177, allocations: 215.9 kB / 0.5959 GB, free: 24.86 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.218, allocations: 0 / 0.5959 GB, free: 24.86 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad_fmu --startTime=0 --stopTime=500 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat does not exist to compare? outputFormat=mat