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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 235.5 MB, free: 2.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 93.88 kB / 286.5 MB, free: 212 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.309/1.309, allocations: 120.5 MB / 457.9 MB, free: 7.02 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.705e-05/4.738e-05, allocations: 7.984 kB / 0.5358 GB, free: 12.07 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.7565, allocations: 82.83 MB / 0.6167 GB, free: 9.215 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.97, allocations: 126.2 MB / 0.74 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.9704, allocations: 55.86 kB / 0.74 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01259/0.983, allocations: 3.454 MB / 0.7434 GB, free: 7.328 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9831, allocations: 0 / 0.7434 GB, free: 7.328 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.9831, allocations: 4 kB / 0.7434 GB, free: 7.324 MB / 0.5419 GB 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.00117/0.9843, allocations: 0.5765 MB / 0.744 GB, free: 6.699 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/0.9844, allocations: 8.031 kB / 0.744 GB, free: 6.691 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.9845, allocations: 58.44 kB / 0.744 GB, free: 6.625 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.9845, allocations: 19.81 kB / 0.7441 GB, free: 6.605 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.9855, allocations: 370.8 kB / 0.7444 GB, free: 6.203 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.9856, allocations: 12.33 kB / 0.7444 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.9857, allocations: 28 kB / 0.7444 GB, free: 6.164 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.9863, allocations: 305.4 kB / 0.7447 GB, free: 5.855 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.9863, allocations: 0 / 0.7447 GB, free: 5.855 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.9864, allocations: 11.95 kB / 0.7448 GB, free: 5.844 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.9864, allocations: 4 kB / 0.7448 GB, free: 5.84 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.9868, allocations: 227.8 kB / 0.745 GB, free: 5.617 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.9892, allocations: 1.104 MB / 0.7461 GB, free: 4.449 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.9903, allocations: 435.4 kB / 0.7465 GB, free: 4.016 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.9905, allocations: 164.8 kB / 0.7466 GB, free: 3.852 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.9906, allocations: 7.938 kB / 0.7466 GB, free: 3.844 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.9906, allocations: 30.91 kB / 0.7467 GB, free: 3.805 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.9906, allocations: 0 / 0.7467 GB, free: 3.805 MB / 0.5419 GB Notification: Performance of matching and sorting (n=23): time 0.0006755/0.9913, allocations: 345.2 kB / 0.747 GB, free: 3.461 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.9914, allocations: 55.41 kB / 0.747 GB, free: 3.395 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.9916, allocations: 201.4 kB / 0.7472 GB, free: 3.191 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.9917, allocations: 37.7 kB / 0.7473 GB, free: 3.148 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.9918, allocations: 124.6 kB / 0.7474 GB, free: 3.02 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 9.029e-05/0.9919, allocations: 102.6 kB / 0.7475 GB, free: 2.918 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.9919, allocations: 4 kB / 0.7475 GB, free: 2.914 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9921, allocations: 334.8 kB / 0.7478 GB, free: 2.578 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.9924, allocations: 187.9 kB / 0.748 GB, free: 2.395 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.9928, allocations: 240.1 kB / 0.7482 GB, free: 2.145 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.9931, allocations: 215.8 kB / 0.7484 GB, free: 1.934 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.9932, allocations: 4 kB / 0.7484 GB, free: 1.93 MB / 0.5419 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009356/0.9941, allocations: 0.4968 MB / 0.7489 GB, free: 1.426 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.9941, allocations: 5.562 kB / 0.7489 GB, free: 1.422 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9942, allocations: 4.125 kB / 0.7489 GB, free: 1.418 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.9942, allocations: 4 kB / 0.7489 GB, free: 1.414 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.9947, allocations: 111.9 kB / 0.749 GB, free: 1.305 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.9947, allocations: 3.953 kB / 0.749 GB, free: 1.301 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.9949, allocations: 43.66 kB / 0.7491 GB, free: 1.258 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.995, allocations: 12 kB / 0.7491 GB, free: 1.246 MB / 0.5419 GB 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 () * 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.0001261/0.9951, allocations: 117.6 kB / 0.7492 GB, free: 1.125 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.9952, allocations: 23.7 kB / 0.7492 GB, free: 1.102 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.9953, allocations: 41.66 kB / 0.7493 GB, free: 1.062 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.9953, allocations: 4 kB / 0.7493 GB, free: 1.059 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.9954, allocations: 0 / 0.7493 GB, free: 1.059 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.9954, allocations: 11.88 kB / 0.7493 GB, free: 1.047 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.9959, allocations: 349.4 kB / 0.7496 GB, free: 0.6562 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.9959, allocations: 0 / 0.7496 GB, free: 0.6562 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.9964, allocations: 91.94 kB / 0.7497 GB, free: 0.5664 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.9964, allocations: 4 kB / 0.7497 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.9965, allocations: 11.98 kB / 0.7497 GB, free: 0.5508 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.9965, allocations: 0 / 0.7497 GB, free: 0.5508 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9965, allocations: 0 / 0.7497 GB, free: 0.5508 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.01/2.006, allocations: 0.6183 MB / 0.7503 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/2.007, allocations: 124 kB / 0.7504 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/2.007, allocations: 14.7 kB / 0.7505 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/2.007, allocations: 17.88 kB / 0.7505 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/2.007, allocations: 13.67 kB / 0.7505 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/2.007, allocations: 7.094 kB / 0.7505 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002288/2.008, allocations: 165.7 kB / 0.7506 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/2.008, allocations: 3.594 kB / 0.7506 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004884/2.008, allocations: 64.78 kB / 0.7507 GB, free: 132.2 MB / 0.5421 GB 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 () * 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.00156/2.01, allocations: 1.149 MB / 0.7518 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0009353/2.011, allocations: 386.4 kB / 0.7522 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/2.011, allocations: 0.75 kB / 0.7522 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003203/2.011, allocations: 159.7 kB / 0.7524 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/2.011, allocations: 13.84 kB / 0.7524 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/2.014, allocations: 1.343 MB / 0.7537 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/2.014, allocations: 0.8016 MB / 0.7545 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0003753/2.014, allocations: 110.4 kB / 0.7546 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/2.015, allocations: 62.27 kB / 0.7546 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of SimCode: time 1.052e-06/2.015, allocations: 0 / 0.7546 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/2.036, allocations: 4.621 MB / 0.7591 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/2.036, allocations: 191.5 kB / 0.7593 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/4.292, allocations: 3.188 kB / 0.7593 GB, free: 129.4 MB / 0.5421 GB (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) 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