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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 94.86 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 181.2 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.2 MB / 241.1 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7447/0.7447, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003007, allocations: 8 kB / 0.4943 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 82.85 MB / 0.5752 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.00177/0.1647, allocations: 1.406 MB / 0.5765 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.1657, allocations: 0.5384 MB / 0.5771 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.1658, allocations: 0 / 0.5771 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.1659, allocations: 19.84 kB / 0.5771 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1661, allocations: 47.89 kB / 0.5771 GB, free: 6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1663, allocations: 63.8 kB / 0.5772 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.1667, allocations: 388.5 kB / 0.5776 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.1668, allocations: 40.73 kB / 0.5776 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.167, allocations: 203.4 kB / 0.5778 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.1673, allocations: 223.2 kB / 0.578 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.1673, allocations: 24 kB / 0.578 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.788e-05/0.1674, allocations: 20 kB / 0.578 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1675, allocations: 115.7 kB / 0.5782 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.1676, allocations: 85.52 kB / 0.5782 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.1679, allocations: 407.3 kB / 0.5786 GB, free: 4.449 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1679, allocations: 0 / 0.5786 GB, free: 4.449 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1679, allocations: 0 / 0.5786 GB, free: 4.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1679, allocations: 0 / 0.5786 GB, free: 4.449 MB / 446.1 MB 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.001843/0.1698, allocations: 0.8847 MB / 0.5795 GB, free: 3.516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1698, allocations: 12.03 kB / 0.5795 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.772e-05/0.1699, allocations: 70.53 kB / 0.5796 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.17, allocations: 47.48 kB / 0.5796 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.1705, allocations: 349.5 kB / 0.5799 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.1705, allocations: 32.64 kB / 0.58 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.1707, allocations: 59.89 kB / 0.58 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.1714, allocations: 0.525 MB / 0.5805 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1715, allocations: 4 kB / 0.5805 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.1715, allocations: 15.94 kB / 0.5806 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-05/0.1716, allocations: 12.66 kB / 0.5806 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.1725, allocations: 0.506 MB / 0.5811 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.1758, allocations: 1.588 MB / 0.5826 GB, free: 196 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4707/0.6465, allocations: 0.867 MB / 0.5835 GB, free: 16.03 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.6466, allocations: 7.141 kB / 0.5835 GB, free: 16.03 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.6466, allocations: 42.8 kB / 0.5835 GB, free: 15.99 MB / 446.3 MB Notification: Performance of pre-optimization done (n=52): time 2.354e-06/0.6466, allocations: 0 / 0.5835 GB, free: 15.99 MB / 446.3 MB Notification: Performance of matching and sorting (n=52): time 0.001708/0.6484, allocations: 0.9915 MB / 0.5845 GB, free: 15.94 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.6484, allocations: 57.97 kB / 0.5845 GB, free: 15.88 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.6487, allocations: 311.3 kB / 0.5848 GB, free: 15.78 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.6488, allocations: 38.3 kB / 0.5849 GB, free: 15.75 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.6489, allocations: 171.2 kB / 0.585 GB, free: 15.64 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.6491, allocations: 203.9 kB / 0.5852 GB, free: 15.53 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.6491, allocations: 14.38 kB / 0.5852 GB, free: 15.53 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.6492, allocations: 360.2 kB / 0.5856 GB, free: 15.21 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008604/0.6501, allocations: 410 kB / 0.586 GB, free: 15.21 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/0.6508, allocations: 0.4889 MB / 0.5865 GB, free: 15.14 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007357/0.6516, allocations: 483 kB / 0.5869 GB, free: 15.02 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6516, allocations: 1.031 kB / 0.5869 GB, free: 15.02 MB / 446.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001725/0.6533, allocations: 1.026 MB / 0.5879 GB, free: 14.69 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6533, allocations: 7.531 kB / 0.5879 GB, free: 14.69 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6534, allocations: 5.969 kB / 0.5879 GB, free: 14.69 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.6534, allocations: 5.594 kB / 0.5879 GB, free: 14.69 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/0.6544, allocations: 230.5 kB / 0.5882 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.6544, allocations: 5.188 kB / 0.5882 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.6548, allocations: 84.06 kB / 0.5882 GB, free: 14.64 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.6549, allocations: 24 kB / 0.5883 GB, free: 14.63 MB / 446.3 MB 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.0002399/0.6551, allocations: 218 kB / 0.5885 GB, free: 14.48 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6552, allocations: 40.45 kB / 0.5885 GB, free: 14.46 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.6567, allocations: 0.8054 MB / 0.5893 GB, free: 14.18 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.6567, allocations: 5.031 kB / 0.5893 GB, free: 14.18 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6567, allocations: 1.125 kB / 0.5893 GB, free: 14.18 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-06/0.6567, allocations: 3.781 kB / 0.5893 GB, free: 14.18 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/0.6575, allocations: 0.5782 MB / 0.5899 GB, free: 13.87 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6575, allocations: 0 / 0.5899 GB, free: 13.87 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6585, allocations: 206.6 kB / 0.5901 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.6585, allocations: 6.266 kB / 0.5901 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/0.6586, allocations: 34.53 kB / 0.5901 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6586, allocations: 7.516 kB / 0.5901 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6586, allocations: 0 / 0.5901 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.6603, allocations: 1.218 MB / 0.5913 GB, free: 13.39 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.6606, allocations: 187.9 kB / 0.5915 GB, free: 13.26 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.6607, allocations: 34.53 kB / 0.5915 GB, free: 13.25 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.6611, allocations: 39.11 kB / 0.5916 GB, free: 13.24 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.6611, allocations: 34.11 kB / 0.5916 GB, free: 13.24 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.6612, allocations: 14.89 kB / 0.5916 GB, free: 13.23 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0002165/0.6614, allocations: 222.2 kB / 0.5918 GB, free: 13.11 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6614, allocations: 0 / 0.5918 GB, free: 13.11 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004416/0.6619, allocations: 128 kB / 0.5919 GB, free: 13.09 MB / 446.3 MB 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.001814/0.6637, allocations: 1.795 MB / 0.5937 GB, free: 12.09 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.665, allocations: 0.8201 MB / 0.5945 GB, free: 11.89 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.665, allocations: 0 / 0.5945 GB, free: 11.89 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.6656, allocations: 374.3 kB / 0.5948 GB, free: 11.78 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.6658, allocations: 21.81 kB / 0.5949 GB, free: 11.77 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006659/0.6725, allocations: 6.311 MB / 0.601 GB, free: 7.965 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.6728, allocations: 0.9043 MB / 0.6019 GB, free: 7.254 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.000642/0.6734, allocations: 251.7 kB / 0.6022 GB, free: 7.242 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.6737, allocations: 130.6 kB / 0.6023 GB, free: 7.152 MB / 446.3 MB Notification: Performance of SimCode: time 8.62e-07/0.6737, allocations: 0 / 0.6023 GB, free: 7.152 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.6957, allocations: 8.839 MB / 0.6109 GB, free: 3.195 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.6958, allocations: 223.5 kB / 0.6111 GB, free: 2.953 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.504, allocations: 0 / 0.6111 GB, free: 2.953 MB / 446.3 MB (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) Environment - environmentSimulation: 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