Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.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.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",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.001819/0.001819, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.465/1.465, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 91.09 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.023/1.023, allocations: 120.5 MB / 463 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 8 kB / 0.5434 GB, free: 42.29 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 82.85 MB / 0.6243 GB, free: 9.129 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9763/1.119, allocations: 126.3 MB / 0.7477 GB, free: 7.582 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/1.119, allocations: 47.92 kB / 0.7478 GB, free: 7.562 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.04048/1.16, allocations: 11.3 MB / 0.7588 GB, free: 13.66 MB / 0.5263 GB Notification: Performance of FrontEnd: time 2.585e-06/1.16, allocations: 0 / 0.7588 GB, free: 13.66 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 3.949e-05/1.16, allocations: 8 kB / 0.7588 GB, free: 13.65 MB / 0.5263 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.002659/1.163, allocations: 0.8963 MB / 0.7597 GB, free: 12.73 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 7.31e-05/1.163, allocations: 8.031 kB / 0.7597 GB, free: 12.72 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/1.163, allocations: 73.83 kB / 0.7597 GB, free: 12.66 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/1.163, allocations: 47.53 kB / 0.7598 GB, free: 12.61 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/1.165, allocations: 0.5436 MB / 0.7603 GB, free: 12.05 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/1.165, allocations: 35.95 kB / 0.7604 GB, free: 12.03 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/1.165, allocations: 63.2 kB / 0.7604 GB, free: 11.98 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/1.166, allocations: 0.5225 MB / 0.7609 GB, free: 11.57 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/1.167, allocations: 0 / 0.7609 GB, free: 11.57 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/1.167, allocations: 11.88 kB / 0.7609 GB, free: 11.57 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/1.167, allocations: 20.47 kB / 0.761 GB, free: 11.55 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/1.168, allocations: 0.5045 MB / 0.7614 GB, free: 11.16 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004508/1.172, allocations: 1.59 MB / 0.763 GB, free: 9.766 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/1.174, allocations: 0.8798 MB / 0.7639 GB, free: 9.094 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/1.174, allocations: 8.422 kB / 0.7639 GB, free: 9.086 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.174, allocations: 38.75 kB / 0.7639 GB, free: 9.043 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=52): time 2.444e-06/1.174, allocations: 0 / 0.7639 GB, free: 9.043 MB / 0.5263 GB Notification: Performance of matching and sorting (n=52): time 0.001877/1.176, allocations: 0.9833 MB / 0.7649 GB, free: 8.277 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/1.176, allocations: 59.84 kB / 0.7649 GB, free: 8.207 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/1.176, allocations: 284.1 kB / 0.7652 GB, free: 7.973 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/1.176, allocations: 37.45 kB / 0.7652 GB, free: 7.938 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/1.177, allocations: 171.5 kB / 0.7654 GB, free: 7.797 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/1.177, allocations: 216 kB / 0.7656 GB, free: 7.613 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/1.177, allocations: 18.62 kB / 0.7656 GB, free: 7.605 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.177, allocations: 349.9 kB / 0.766 GB, free: 7.27 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006493/1.178, allocations: 418.1 kB / 0.7663 GB, free: 6.961 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007068/1.178, allocations: 0.4888 MB / 0.7668 GB, free: 6.555 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/1.179, allocations: 478.1 kB / 0.7673 GB, free: 6.219 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.179, allocations: 0 / 0.7673 GB, free: 6.219 MB / 0.5263 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001705/1.181, allocations: 1.029 MB / 0.7683 GB, free: 5.426 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.181, allocations: 10.59 kB / 0.7683 GB, free: 5.418 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.181, allocations: 4 kB / 0.7683 GB, free: 5.414 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/1.181, allocations: 4 kB / 0.7683 GB, free: 5.41 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009949/1.182, allocations: 227.6 kB / 0.7685 GB, free: 5.191 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.912e-05/1.182, allocations: 7.938 kB / 0.7685 GB, free: 5.184 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/1.182, allocations: 91.14 kB / 0.7686 GB, free: 5.105 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/1.183, allocations: 26.44 kB / 0.7686 GB, free: 5.086 MB / 0.5263 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 () * Number of clocked 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.0003303/1.183, allocations: 220.8 kB / 0.7689 GB, free: 4.891 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/1.183, allocations: 39.48 kB / 0.7689 GB, free: 4.852 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/1.185, allocations: 0.7973 MB / 0.7697 GB, free: 4.281 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.185, allocations: 4 kB / 0.7697 GB, free: 4.277 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.185, allocations: 0 / 0.7697 GB, free: 4.277 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/1.185, allocations: 7.984 kB / 0.7697 GB, free: 4.27 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007772/1.185, allocations: 0.5682 MB / 0.7702 GB, free: 3.754 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.185, allocations: 4 kB / 0.7702 GB, free: 3.75 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.186, allocations: 211.5 kB / 0.7704 GB, free: 3.551 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/1.186, allocations: 7.938 kB / 0.7704 GB, free: 3.543 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-05/1.187, allocations: 23.8 kB / 0.7705 GB, free: 3.527 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/1.187, allocations: 4 kB / 0.7705 GB, free: 3.523 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.187, allocations: 0 / 0.7705 GB, free: 3.523 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/1.188, allocations: 1.22 MB / 0.7717 GB, free: 2.562 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/1.189, allocations: 183.5 kB / 0.7718 GB, free: 2.379 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/1.189, allocations: 35.62 kB / 0.7719 GB, free: 2.355 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/1.189, allocations: 43.36 kB / 0.7719 GB, free: 2.316 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/1.19, allocations: 32.27 kB / 0.7719 GB, free: 2.289 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/1.19, allocations: 19.8 kB / 0.772 GB, free: 2.273 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0002431/1.19, allocations: 216.5 kB / 0.7722 GB, free: 2.098 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.923e-06/1.19, allocations: 0 / 0.7722 GB, free: 2.098 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004931/1.19, allocations: 143.2 kB / 0.7723 GB, free: 1.977 MB / 0.5263 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 () * Number of clocked 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.002246/1.193, allocations: 1.787 MB / 0.7741 GB, free: 464 kB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001503/1.194, allocations: 0.8262 MB / 0.7749 GB, free: 15.81 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.194, allocations: 448 / 0.7749 GB, free: 15.81 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/1.195, allocations: 371.4 kB / 0.7752 GB, free: 15.53 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.195, allocations: 21.92 kB / 0.7752 GB, free: 15.52 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008847/1.204, allocations: 6.323 MB / 0.7814 GB, free: 9.781 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/1.204, allocations: 0.9047 MB / 0.7823 GB, free: 8.867 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0006197/1.205, allocations: 255 kB / 0.7825 GB, free: 8.621 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/1.205, allocations: 124.5 kB / 0.7827 GB, free: 8.582 MB / 0.5419 GB Notification: Performance of SimCode: time 5.31e-07/1.205, allocations: 0 / 0.7827 GB, free: 8.582 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/1.232, allocations: 8.851 MB / 0.7913 GB, free: 15.96 MB / 0.5575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/1.233, allocations: 241.2 kB / 0.7915 GB, free: 15.71 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.687, allocations: 0 / 0.7915 GB, free: 15.71 MB / 0.5575 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat does not exist to compare? outputFormat=mat