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.001496/0.001496, allocations: 175.5 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.741/1.741, allocations: 221.3 MB / 235.5 MB, free: 2.973 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.00105/0.00105, allocations: 80.7 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.229/1.229, allocations: 120.5 MB / 457.8 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.817e-05, allocations: 0 / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6619/0.662, allocations: 82.83 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.8375, allocations: 126.2 MB / 0.74 GB, free: 10.97 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.8378, allocations: 55.91 kB / 0.74 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.8965/1.734, allocations: 11.25 MB / 0.751 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of FrontEnd: time 3.156e-06/1.734, allocations: 3.5 kB / 0.751 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 6.996e-05/1.734, allocations: 7.906 kB / 0.751 GB, free: 131.7 MB / 0.5421 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.002721/1.737, allocations: 0.8437 MB / 0.7518 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 8.627e-05/1.737, allocations: 10.19 kB / 0.7519 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/1.737, allocations: 73.88 kB / 0.7519 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/1.738, allocations: 45.84 kB / 0.752 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/1.739, allocations: 0.5449 MB / 0.7525 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/1.74, allocations: 28.94 kB / 0.7525 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/1.74, allocations: 67.92 kB / 0.7526 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/1.741, allocations: 0.5172 MB / 0.7531 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.741, allocations: 12.45 kB / 0.7531 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/1.741, allocations: 15.14 kB / 0.7531 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/1.741, allocations: 12.72 kB / 0.7531 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/1.743, allocations: 0.4927 MB / 0.7536 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/1.747, allocations: 1.588 MB / 0.7552 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/1.749, allocations: 0.8663 MB / 0.756 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007054/1.749, allocations: 375.6 kB / 0.7564 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/1.749, allocations: 5.672 kB / 0.7564 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.749, allocations: 42.56 kB / 0.7564 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=52): time 3.537e-06/1.749, allocations: 0.75 kB / 0.7564 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=52): time 0.001402/1.751, allocations: 0.695 MB / 0.7571 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1.751, allocations: 60.28 kB / 0.7572 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/1.751, allocations: 281.6 kB / 0.7574 GB, free: 130 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/1.751, allocations: 39.36 kB / 0.7575 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.752, allocations: 175.3 kB / 0.7576 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/1.752, allocations: 207.9 kB / 0.7578 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/1.752, allocations: 10.47 kB / 0.7578 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.752, allocations: 357 kB / 0.7582 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/1.752, allocations: 403.9 kB / 0.7586 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/1.753, allocations: 492.3 kB / 0.759 GB, free: 129 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/1.754, allocations: 481.6 kB / 0.7595 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/1.754, allocations: 0.6875 kB / 0.7595 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001951/1.756, allocations: 1.012 MB / 0.7605 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/1.756, allocations: 7.688 kB / 0.7605 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.756, allocations: 2.562 kB / 0.7605 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/1.756, allocations: 9.375 kB / 0.7605 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.757, allocations: 228 kB / 0.7607 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/1.757, allocations: 7.094 kB / 0.7607 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/1.758, allocations: 89.69 kB / 0.7608 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/1.758, allocations: 27.72 kB / 0.7608 GB, free: 128.5 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.0001441/1.758, allocations: 132.3 kB / 0.761 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.758, allocations: 46.31 kB / 0.761 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/1.759, allocations: 0.7914 MB / 0.7618 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.759, allocations: 6.438 kB / 0.7618 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.759, allocations: 0 / 0.7618 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/1.76, allocations: 5.297 kB / 0.7618 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007042/1.76, allocations: 0.5748 MB / 0.7624 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.76, allocations: 0 / 0.7624 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009594/1.761, allocations: 210.1 kB / 0.7626 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/1.761, allocations: 7.922 kB / 0.7626 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/1.761, allocations: 30.67 kB / 0.7626 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.761, allocations: 3.969 kB / 0.7626 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.761, allocations: 0.5469 kB / 0.7626 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/1.763, allocations: 1.207 MB / 0.7638 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/1.763, allocations: 184.1 kB / 0.764 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/1.763, allocations: 33.75 kB / 0.764 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/1.763, allocations: 48.3 kB / 0.764 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/1.763, allocations: 26.36 kB / 0.7641 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/1.763, allocations: 11.91 kB / 0.7641 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001668/1.764, allocations: 223.1 kB / 0.7643 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.31e-07/1.764, allocations: 0 / 0.7643 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004045/1.764, allocations: 138.4 kB / 0.7644 GB, free: 127 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.001633/1.766, allocations: 1.783 MB / 0.7662 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001105/1.767, allocations: 0.8094 MB / 0.7669 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.767, allocations: 0 / 0.7669 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/1.767, allocations: 367.7 kB / 0.7673 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.767, allocations: 22.09 kB / 0.7673 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/1.77, allocations: 2.611 MB / 0.7699 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/1.771, allocations: 0.9131 MB / 0.7708 GB, free: 121.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0005208/1.771, allocations: 255 kB / 0.771 GB, free: 121.1 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/1.772, allocations: 127.4 kB / 0.7711 GB, free: 121 MB / 0.5421 GB Notification: Performance of SimCode: time 2.264e-06/1.772, allocations: 0 / 0.7711 GB, free: 121 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/1.802, allocations: 8.747 MB / 0.7797 GB, free: 112.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.802, allocations: 187.9 kB / 0.7798 GB, free: 112.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/4.466, allocations: 4.062 kB / 0.7798 GB, free: 112.2 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