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.001175/0.001175, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.00159/0.00159, allocations: 105.5 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.653/1.653, allocations: 120.4 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.943e-05, allocations: 0 / 0.5289 GB, free: 1.199 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8497/0.8498, allocations: 82.84 MB / 0.6098 GB, free: 12.94 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/1.042, allocations: 125.6 MB / 0.7324 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/1.042, allocations: 63.84 kB / 0.7325 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01182/1.054, allocations: 3.42 MB / 0.7358 GB, free: 11.74 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.943e-06/1.054, allocations: 0 / 0.7358 GB, free: 11.74 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.501e-05/1.054, allocations: 4 kB / 0.7358 GB, free: 11.73 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.001041/1.055, allocations: 0.5765 MB / 0.7364 GB, free: 11.11 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.055, allocations: 12.02 kB / 0.7364 GB, free: 11.1 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/1.055, allocations: 23.77 kB / 0.7364 GB, free: 11.07 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/1.056, allocations: 370.8 kB / 0.7368 GB, free: 10.67 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/1.056, allocations: 7.938 kB / 0.7368 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.056, allocations: 23.98 kB / 0.7368 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003791/1.056, allocations: 224.4 kB / 0.737 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/1.057, allocations: 273.1 kB / 0.7373 GB, free: 10.14 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.057, allocations: 3.953 kB / 0.7373 GB, free: 10.14 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/1.057, allocations: 3.984 kB / 0.7373 GB, free: 10.14 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/1.057, allocations: 8 kB / 0.7373 GB, free: 10.13 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/1.059, allocations: 1.05 MB / 0.7383 GB, free: 9.027 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000871/1.06, allocations: 418.6 kB / 0.7387 GB, free: 8.609 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/1.06, allocations: 160.8 kB / 0.7389 GB, free: 8.449 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/1.06, allocations: 4 kB / 0.7389 GB, free: 8.445 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/1.06, allocations: 34.56 kB / 0.7389 GB, free: 8.402 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/1.06, allocations: 3.938 kB / 0.7389 GB, free: 8.398 MB / 0.5419 GB Notification: Performance of matching and sorting (n=23): time 0.0005382/1.061, allocations: 327.4 kB / 0.7392 GB, free: 8.07 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/1.061, allocations: 51.41 kB / 0.7393 GB, free: 8.008 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/1.061, allocations: 182.2 kB / 0.7394 GB, free: 7.824 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/1.061, allocations: 25.7 kB / 0.7395 GB, free: 7.793 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/1.061, allocations: 136.5 kB / 0.7396 GB, free: 7.656 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/1.061, allocations: 90.66 kB / 0.7397 GB, free: 7.566 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/1.061, allocations: 4 kB / 0.7397 GB, free: 7.562 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.061, allocations: 330.8 kB / 0.74 GB, free: 7.23 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/1.061, allocations: 183.9 kB / 0.7402 GB, free: 7.051 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/1.062, allocations: 228.1 kB / 0.7404 GB, free: 6.812 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/1.062, allocations: 223.6 kB / 0.7406 GB, free: 6.594 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.062, allocations: 0 / 0.7406 GB, free: 6.594 MB / 0.5419 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006701/1.063, allocations: 472.7 kB / 0.741 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.063, allocations: 11.98 kB / 0.7411 GB, free: 6.113 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.063, allocations: 0 / 0.7411 GB, free: 6.113 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.063, allocations: 4 kB / 0.7411 GB, free: 6.109 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/1.063, allocations: 108 kB / 0.7412 GB, free: 6.004 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.063, allocations: 4 kB / 0.7412 GB, free: 6 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/1.064, allocations: 35.66 kB / 0.7412 GB, free: 5.965 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/1.064, allocations: 15.95 kB / 0.7412 GB, free: 5.949 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 9.754e-05/1.064, allocations: 104.9 kB / 0.7413 GB, free: 5.84 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004773/1.064, allocations: 321.7 kB / 0.7416 GB, free: 5.52 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/1.064, allocations: 23.72 kB / 0.7416 GB, free: 5.496 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/1.064, allocations: 29.97 kB / 0.7417 GB, free: 5.465 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.064, allocations: 7.953 kB / 0.7417 GB, free: 5.457 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.064, allocations: 4 kB / 0.7417 GB, free: 5.453 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/1.064, allocations: 3.984 kB / 0.7417 GB, free: 5.449 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/1.065, allocations: 317.9 kB / 0.742 GB, free: 5.102 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.065, allocations: 0 / 0.742 GB, free: 5.102 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/1.065, allocations: 95.92 kB / 0.7421 GB, free: 5.008 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/1.065, allocations: 0 / 0.7421 GB, free: 5.008 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/1.065, allocations: 11.98 kB / 0.7421 GB, free: 4.996 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.065, allocations: 4 kB / 0.7421 GB, free: 4.992 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.065, allocations: 0 / 0.7421 GB, free: 4.992 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/1.066, allocations: 0.604 MB / 0.7427 GB, free: 4.375 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/1.066, allocations: 124.9 kB / 0.7428 GB, free: 4.234 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/1.066, allocations: 11.98 kB / 0.7428 GB, free: 4.223 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/1.067, allocations: 15.97 kB / 0.7428 GB, free: 4.207 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/1.067, allocations: 15.84 kB / 0.7429 GB, free: 4.191 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.067, allocations: 11.95 kB / 0.7429 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001271/1.067, allocations: 145.1 kB / 0.743 GB, free: 4.039 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.71e-07/1.067, allocations: 7.875 kB / 0.743 GB, free: 4.031 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003059/1.067, allocations: 63.84 kB / 0.7431 GB, free: 3.969 MB / 0.5419 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.001057/1.068, allocations: 1.126 MB / 0.7442 GB, free: 2.816 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0005585/1.069, allocations: 360.7 kB / 0.7445 GB, free: 2.465 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.069, allocations: 4.188 kB / 0.7445 GB, free: 2.461 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/1.069, allocations: 155.8 kB / 0.7447 GB, free: 2.309 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/1.069, allocations: 12.12 kB / 0.7447 GB, free: 2.293 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/1.071, allocations: 1.321 MB / 0.746 GB, free: 0.9297 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/1.072, allocations: 0.8062 MB / 0.7468 GB, free: 96 kB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.8674/1.939, allocations: 105.5 kB / 0.7469 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/1.939, allocations: 58.86 kB / 0.7469 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of SimCode: time 1.943e-06/1.939, allocations: 0 / 0.7469 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/1.973, allocations: 4.133 MB / 0.7509 GB, free: 134.5 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/1.973, allocations: 175.5 kB / 0.7511 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/3.976, allocations: 0.625 kB / 0.7511 GB, free: 134.3 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