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.0007681/0.0007681, allocations: 85.62 kB / 16.31 MB, free: 6.449 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.0008828/0.0008828, allocations: 180.6 kB / 17.21 MB, free: 6.32 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.272/1.272, allocations: 223.3 MB / 241.2 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6918/0.6918, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002723, allocations: 8 kB / 0.4944 GB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 82.85 MB / 0.5753 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.001499/0.1418, allocations: 1.453 MB / 0.5767 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.1427, allocations: 0.5384 MB / 0.5772 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.1428, allocations: 0 / 0.5772 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.1429, allocations: 15.84 kB / 0.5772 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1431, allocations: 63.61 kB / 0.5773 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1433, allocations: 59.91 kB / 0.5773 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.1437, allocations: 367.6 kB / 0.5777 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.1437, allocations: 29.61 kB / 0.5777 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1439, allocations: 103.7 kB / 0.5778 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1441, allocations: 135.5 kB / 0.5779 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1441, allocations: 12 kB / 0.578 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.993e-05/0.1441, allocations: 15.94 kB / 0.578 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.1442, allocations: 55.81 kB / 0.578 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.1443, allocations: 61.56 kB / 0.5781 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1444, allocations: 199.8 kB / 0.5783 GB, free: 4.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1445, allocations: 0 / 0.5783 GB, free: 4.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1445, allocations: 0 / 0.5783 GB, free: 4.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1445, allocations: 0 / 0.5783 GB, free: 4.91 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001102/0.1456, allocations: 0.6002 MB / 0.5789 GB, free: 4.258 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1456, allocations: 12.03 kB / 0.5789 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.1457, allocations: 50.55 kB / 0.5789 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.1457, allocations: 19.77 kB / 0.5789 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.146, allocations: 258.7 kB / 0.5792 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.146, allocations: 16.33 kB / 0.5792 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.1462, allocations: 31.91 kB / 0.5792 GB, free: 3.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.1466, allocations: 305.3 kB / 0.5795 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1466, allocations: 3.938 kB / 0.5795 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.1466, allocations: 8 kB / 0.5795 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.1467, allocations: 11.95 kB / 0.5795 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.147, allocations: 227.8 kB / 0.5798 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.1489, allocations: 1.104 MB / 0.5808 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/0.1497, allocations: 442.5 kB / 0.5813 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.1499, allocations: 164.7 kB / 0.5814 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.15, allocations: 0 / 0.5814 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.15, allocations: 38.56 kB / 0.5815 GB, free: 1.453 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.022e-06/0.15, allocations: 0 / 0.5815 GB, free: 1.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.0006536/0.1506, allocations: 476.1 kB / 0.5819 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.1507, allocations: 59.36 kB / 0.582 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1509, allocations: 218.1 kB / 0.5822 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1509, allocations: 29.7 kB / 0.5822 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.151, allocations: 136.4 kB / 0.5823 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.151, allocations: 90.7 kB / 0.5824 GB, free: 436 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.1511, allocations: 8 kB / 0.5824 GB, free: 428 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1512, allocations: 334.8 kB / 0.5828 GB, free: 84 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4384/0.5896, allocations: 185.8 kB / 0.5829 GB, free: 16.05 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.59, allocations: 236.3 kB / 0.5832 GB, free: 16.02 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.5905, allocations: 224.7 kB / 0.5834 GB, free: 16.02 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.5906, allocations: 0 / 0.5834 GB, free: 16.02 MB / 446.3 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008647/0.5914, allocations: 0.5009 MB / 0.5839 GB, free: 15.98 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5915, allocations: 6.281 kB / 0.5839 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5915, allocations: 1.75 kB / 0.5839 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.5915, allocations: 7.75 kB / 0.5839 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.592, allocations: 111.4 kB / 0.584 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.592, allocations: 4.531 kB / 0.584 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.5922, allocations: 47.42 kB / 0.584 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.5923, allocations: 13.31 kB / 0.584 GB, free: 15.98 MB / 446.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.0001498/0.5924, allocations: 162.5 kB / 0.5842 GB, free: 15.86 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.5925, allocations: 19.52 kB / 0.5842 GB, free: 15.86 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.5926, allocations: 43.8 kB / 0.5843 GB, free: 15.86 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5926, allocations: 3.281 kB / 0.5843 GB, free: 15.86 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.5926, allocations: 0 / 0.5843 GB, free: 15.86 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5926, allocations: 1.172 kB / 0.5843 GB, free: 15.86 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.593, allocations: 355.8 kB / 0.5846 GB, free: 15.66 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.593, allocations: 0.6094 kB / 0.5846 GB, free: 15.66 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.5935, allocations: 98.8 kB / 0.5847 GB, free: 15.66 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.5936, allocations: 1.422 kB / 0.5847 GB, free: 15.66 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.5937, allocations: 13.5 kB / 0.5847 GB, free: 15.66 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.5937, allocations: 2.531 kB / 0.5847 GB, free: 15.66 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5938, allocations: 0.875 kB / 0.5847 GB, free: 15.66 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008641/0.5946, allocations: 0.6166 MB / 0.5853 GB, free: 15.52 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.5947, allocations: 127.6 kB / 0.5854 GB, free: 15.43 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.5948, allocations: 16.36 kB / 0.5855 GB, free: 15.43 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.595, allocations: 18.44 kB / 0.5855 GB, free: 15.43 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.595, allocations: 11.75 kB / 0.5855 GB, free: 15.43 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.595, allocations: 11.12 kB / 0.5855 GB, free: 15.43 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0001352/0.5952, allocations: 154.3 kB / 0.5856 GB, free: 15.35 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5952, allocations: 0 / 0.5856 GB, free: 15.35 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003092/0.5955, allocations: 63.34 kB / 0.5857 GB, free: 15.35 MB / 446.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.00098/0.5965, allocations: 1.168 MB / 0.5868 GB, free: 14.68 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0007505/0.5973, allocations: 387.5 kB / 0.5872 GB, free: 14.67 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5973, allocations: 0 / 0.5872 GB, free: 14.67 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.5975, allocations: 161.8 kB / 0.5874 GB, free: 14.66 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.5978, allocations: 11.84 kB / 0.5874 GB, free: 14.66 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.6014, allocations: 2.775 MB / 0.5901 GB, free: 13.16 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.6017, allocations: 0.7991 MB / 0.5909 GB, free: 12.45 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.602, allocations: 110.9 kB / 0.591 GB, free: 12.45 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.6021, allocations: 60.28 kB / 0.591 GB, free: 12.41 MB / 446.3 MB Notification: Performance of SimCode: time 7.91e-07/0.6021, allocations: 3.938 kB / 0.591 GB, free: 12.4 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.6185, allocations: 4.721 MB / 0.5956 GB, free: 12.07 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00012/0.6187, allocations: 227.6 kB / 0.5959 GB, free: 11.83 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.311, allocations: 4 kB / 0.5959 GB, free: 11.83 MB / 446.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