Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.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.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",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.001629/0.001629, allocations: 177.1 kB / 8.35 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.667/1.667, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.001341/0.001341, allocations: 85.91 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.605/1.605, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.705e-05, allocations: 0 / 0.5289 GB, free: 1.211 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9247/0.9248, allocations: 82.85 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/1.157, allocations: 125.6 MB / 0.7324 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.157, allocations: 47.98 kB / 0.7324 GB, free: 15.22 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.04174/1.199, allocations: 11.18 MB / 0.7434 GB, free: 4.004 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.054e-06/1.199, allocations: 0 / 0.7434 GB, free: 4.004 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.27e-05/1.199, allocations: 8 kB / 0.7434 GB, free: 3.996 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001947/1.201, allocations: 0.8419 MB / 0.7442 GB, free: 3.109 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/1.201, allocations: 16.02 kB / 0.7442 GB, free: 3.094 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/1.201, allocations: 43.48 kB / 0.7442 GB, free: 3.051 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/1.203, allocations: 0.541 MB / 0.7448 GB, free: 2.469 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/1.203, allocations: 15.94 kB / 0.7448 GB, free: 2.453 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/1.203, allocations: 51.89 kB / 0.7448 GB, free: 2.402 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008304/1.204, allocations: 489.2 kB / 0.7453 GB, free: 1.926 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/1.205, allocations: 489.8 kB / 0.7458 GB, free: 1.438 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/1.205, allocations: 0 / 0.7458 GB, free: 1.438 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/1.205, allocations: 0 / 0.7458 GB, free: 1.438 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/1.205, allocations: 12.78 kB / 0.7458 GB, free: 1.426 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9527/2.158, allocations: 1.519 MB / 0.7473 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/2.16, allocations: 0.8389 MB / 0.7481 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000635/2.161, allocations: 361.2 kB / 0.7484 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/2.161, allocations: 5.844 kB / 0.7484 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/2.161, allocations: 40.7 kB / 0.7485 GB, free: 134 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=52): time 3.346e-06/2.161, allocations: 0.9062 kB / 0.7485 GB, free: 134 MB / 0.5421 GB Notification: Performance of matching and sorting (n=52): time 0.001398/2.162, allocations: 0.6656 MB / 0.7491 GB, free: 134 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/2.162, allocations: 57.38 kB / 0.7492 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/2.163, allocations: 256.6 kB / 0.7494 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/2.163, allocations: 26.58 kB / 0.7494 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/2.163, allocations: 172.2 kB / 0.7496 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/2.163, allocations: 202.5 kB / 0.7498 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/2.163, allocations: 3.281 kB / 0.7498 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001108/2.163, allocations: 354.9 kB / 0.7501 GB, free: 133.3 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006592/2.164, allocations: 389 kB / 0.7505 GB, free: 133.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/2.164, allocations: 471.6 kB / 0.751 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/2.165, allocations: 466.4 kB / 0.7514 GB, free: 133.1 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/2.165, allocations: 1 kB / 0.7514 GB, free: 133.1 MB / 0.5421 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001897/2.167, allocations: 0.9572 MB / 0.7523 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/2.167, allocations: 14.8 kB / 0.7524 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/2.167, allocations: 2.938 kB / 0.7524 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.464e-05/2.167, allocations: 5.531 kB / 0.7524 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/2.169, allocations: 227.4 kB / 0.7526 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/2.169, allocations: 6.406 kB / 0.7526 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/2.169, allocations: 74.3 kB / 0.7527 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/2.169, allocations: 20.78 kB / 0.7527 GB, free: 132.8 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0002049/2.17, allocations: 121.7 kB / 0.7528 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001606/2.171, allocations: 0.6655 MB / 0.7535 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/2.171, allocations: 38.22 kB / 0.7535 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/2.173, allocations: 0.7477 MB / 0.7542 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/2.173, allocations: 5.438 kB / 0.7542 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.173, allocations: 0 / 0.7542 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/2.173, allocations: 4.906 kB / 0.7542 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/2.174, allocations: 0.5165 MB / 0.7547 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/2.174, allocations: 2.062 kB / 0.7547 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/2.175, allocations: 201.6 kB / 0.7549 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/2.175, allocations: 2 kB / 0.7549 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.327e-05/2.175, allocations: 25.58 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/2.175, allocations: 2.344 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/2.175, allocations: 3.469 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/2.177, allocations: 1.179 MB / 0.7561 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/2.177, allocations: 186.1 kB / 0.7563 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/2.177, allocations: 20.56 kB / 0.7563 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/2.178, allocations: 34.31 kB / 0.7563 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/2.178, allocations: 37.81 kB / 0.7564 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/2.178, allocations: 14.12 kB / 0.7564 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.000177/2.178, allocations: 199.2 kB / 0.7566 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.31e-07/2.178, allocations: 0 / 0.7566 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005524/2.179, allocations: 116.3 kB / 0.7567 GB, free: 131.3 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (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,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].err_p_t_int,generator[2].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 54 * 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.001472/2.18, allocations: 1.737 MB / 0.7584 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001058/2.181, allocations: 0.7833 MB / 0.7592 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/2.181, allocations: 0 / 0.7592 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/2.182, allocations: 355.9 kB / 0.7595 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/2.182, allocations: 15.41 kB / 0.7595 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/2.185, allocations: 2.563 MB / 0.762 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/2.185, allocations: 0.9066 MB / 0.7629 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0005824/2.186, allocations: 260.6 kB / 0.7631 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/2.186, allocations: 134.5 kB / 0.7633 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of SimCode: time 9.01e-07/2.186, allocations: 0 / 0.7633 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/2.215, allocations: 8.072 MB / 0.7712 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/2.215, allocations: 178 kB / 0.7713 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/4.801, allocations: 1.562 kB / 0.7713 GB, free: 119.9 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat does not exist to compare? outputFormat=mat