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.00122/0.00122, 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.606/1.606, allocations: 221.3 MB / 235.5 MB, free: 2.98 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.001146/0.001146, allocations: 87.86 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.297/1.297, allocations: 120.5 MB / 457.9 MB, free: 7.062 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 5.667e-05/5.669e-05, allocations: 3.984 kB / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9243/0.9244, allocations: 82.83 MB / 0.6167 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.21/1.134, allocations: 126.3 MB / 0.74 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/1.135, allocations: 55.92 kB / 0.7401 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.9599/2.095, allocations: 11.28 MB / 0.7511 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.955e-06/2.095, allocations: 0 / 0.7511 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 5.584e-05/2.095, allocations: 10.97 kB / 0.7511 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.002371/2.097, allocations: 0.8394 MB / 0.7519 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/2.097, allocations: 13.56 kB / 0.7519 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/2.097, allocations: 74.62 kB / 0.752 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/2.098, allocations: 41.47 kB / 0.752 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/2.099, allocations: 0.543 MB / 0.7526 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/2.099, allocations: 29.28 kB / 0.7526 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/2.1, allocations: 66.53 kB / 0.7527 GB, free: 131 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/2.101, allocations: 0.5184 MB / 0.7532 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/2.101, allocations: 16.45 kB / 0.7532 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/2.101, allocations: 11.19 kB / 0.7532 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/2.101, allocations: 16.92 kB / 0.7532 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/2.102, allocations: 0.4936 MB / 0.7537 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/2.107, allocations: 1.589 MB / 0.7552 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/2.109, allocations: 0.8591 MB / 0.7561 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007299/2.11, allocations: 373.6 kB / 0.7564 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/2.11, allocations: 5.75 kB / 0.7564 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/2.11, allocations: 37.84 kB / 0.7565 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=52): time 3.497e-06/2.11, allocations: 0 / 0.7565 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=52): time 0.001604/2.111, allocations: 0.6966 MB / 0.7572 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/2.111, allocations: 60.31 kB / 0.7572 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/2.112, allocations: 284 kB / 0.7575 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/2.112, allocations: 41.55 kB / 0.7575 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/2.112, allocations: 173.9 kB / 0.7577 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/2.112, allocations: 205.5 kB / 0.7579 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/2.112, allocations: 14.88 kB / 0.7579 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001156/2.112, allocations: 353.4 kB / 0.7582 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/2.113, allocations: 405.5 kB / 0.7586 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/2.114, allocations: 499.7 kB / 0.7591 GB, free: 129 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/2.115, allocations: 475.8 kB / 0.7596 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/2.115, allocations: 0.5 kB / 0.7596 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001873/2.117, allocations: 1.015 MB / 0.7606 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/2.117, allocations: 9.25 kB / 0.7606 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/2.117, allocations: 2.25 kB / 0.7606 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.393e-05/2.117, allocations: 9.875 kB / 0.7606 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/2.118, allocations: 223.7 kB / 0.7608 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/2.118, allocations: 8.938 kB / 0.7608 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/2.118, allocations: 91.81 kB / 0.7609 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/2.118, allocations: 19.78 kB / 0.7609 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.0001357/2.118, allocations: 140.2 kB / 0.761 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/2.118, allocations: 37.61 kB / 0.7611 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/2.12, allocations: 0.7959 MB / 0.7619 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/2.12, allocations: 7.625 kB / 0.7619 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/2.12, allocations: 4.812 kB / 0.7619 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/2.12, allocations: 3.609 kB / 0.7619 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/2.12, allocations: 0.569 MB / 0.7624 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/2.12, allocations: 3.188 kB / 0.7624 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/2.121, allocations: 205.4 kB / 0.7626 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/2.121, allocations: 3.953 kB / 0.7626 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/2.121, allocations: 36.72 kB / 0.7627 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/2.121, allocations: 0 / 0.7627 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/2.122, allocations: 4.547 kB / 0.7627 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/2.123, allocations: 1.202 MB / 0.7638 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/2.123, allocations: 190.6 kB / 0.764 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/2.123, allocations: 30.78 kB / 0.764 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/2.124, allocations: 45.22 kB / 0.7641 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/2.124, allocations: 35.17 kB / 0.7641 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/2.124, allocations: 14.12 kB / 0.7641 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.000171/2.124, allocations: 222.7 kB / 0.7644 GB, free: 127 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/2.124, allocations: 3.5 kB / 0.7644 GB, free: 127 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004061/2.124, allocations: 131.4 kB / 0.7645 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.001658/2.126, allocations: 1.777 MB / 0.7662 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001046/2.127, allocations: 0.8197 MB / 0.767 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/2.127, allocations: 0 / 0.767 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004096/2.127, allocations: 357.1 kB / 0.7674 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.0002517/2.128, allocations: 28.61 kB / 0.7674 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/2.131, allocations: 2.606 MB / 0.7699 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/2.131, allocations: 0.9093 MB / 0.7708 GB, free: 121.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0005586/2.132, allocations: 255 kB / 0.7711 GB, free: 121.1 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/2.132, allocations: 124.8 kB / 0.7712 GB, free: 121 MB / 0.5421 GB Notification: Performance of SimCode: time 1.282e-06/2.132, allocations: 0 / 0.7712 GB, free: 121 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/2.153, allocations: 8.753 MB / 0.7797 GB, free: 112.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/2.153, allocations: 195.6 kB / 0.7799 GB, free: 112.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/4.778, allocations: 2.453 kB / 0.7799 GB, free: 112.2 MB / 0.5421 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