Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",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.00108/0.00108, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.204/1.204, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008716/0.0008716, allocations: 99.75 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4303/0.4303, allocations: 78.89 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.884e-05, allocations: 4 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3135, allocations: 69.5 MB / 0.5492 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4278, allocations: 98.49 MB / 0.6454 GB, free: 1.102 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4281, allocations: 75.95 kB / 0.6455 GB, free: 1.027 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06285/0.491, allocations: 24.94 MB / 0.6698 GB, free: 7.902 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.491, allocations: 3.938 kB / 0.6698 GB, free: 7.898 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.056e-05/0.4911, allocations: 20 kB / 0.6698 GB, free: 7.879 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004284/0.4954, allocations: 1.636 MB / 0.6714 GB, free: 6.195 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4954, allocations: 15.97 kB / 0.6715 GB, free: 6.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.4956, allocations: 126.4 kB / 0.6716 GB, free: 6.047 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.4986, allocations: 0.5448 MB / 0.6721 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.4999, allocations: 0.7069 MB / 0.6728 GB, free: 4.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.5001, allocations: 260.2 kB / 0.673 GB, free: 4.457 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.5003, allocations: 71.91 kB / 0.6731 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.5017, allocations: 0.8079 MB / 0.6739 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5017, allocations: 0 / 0.6739 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.5018, allocations: 32 kB / 0.6739 GB, free: 3.539 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.5018, allocations: 16 kB / 0.674 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.5031, allocations: 0.7928 MB / 0.6747 GB, free: 2.734 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.272/0.7751, allocations: 3.326 MB / 0.678 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.7766, allocations: 1.176 MB / 0.6791 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.7774, allocations: 0.5603 MB / 0.6797 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.7775, allocations: 11.44 kB / 0.6797 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.7775, allocations: 46.22 kB / 0.6797 GB, free: 104.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 4.077e-06/0.7775, allocations: 3.469 kB / 0.6797 GB, free: 104.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.01264/0.7902, allocations: 4.011 MB / 0.6836 GB, free: 104.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.7902, allocations: 63.41 kB / 0.6837 GB, free: 104.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.7914, allocations: 0.7081 MB / 0.6844 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.7916, allocations: 39.33 kB / 0.6844 GB, free: 104 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.7918, allocations: 454.5 kB / 0.6849 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.7921, allocations: 302 kB / 0.6852 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.7922, allocations: 14.69 kB / 0.6852 GB, free: 103.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.7922, allocations: 335.8 kB / 0.6855 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.7929, allocations: 432.3 kB / 0.6859 GB, free: 103.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.7936, allocations: 0.5216 MB / 0.6864 GB, free: 103.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/0.7942, allocations: 475.6 kB / 0.6869 GB, free: 103.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7942, allocations: 3.688 kB / 0.6869 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01096/0.8052, allocations: 4.212 MB / 0.691 GB, free: 103.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.8052, allocations: 11.77 kB / 0.691 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8052, allocations: 6.219 kB / 0.691 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005258/0.8105, allocations: 1.782 MB / 0.6927 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.811, allocations: 128.2 kB / 0.6929 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.8237, allocations: 7.41 MB / 0.7001 GB, free: 99.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.8248, allocations: 181.9 kB / 0.7003 GB, free: 98.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.8249, allocations: 31.03 kB / 0.7003 GB, free: 98.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.8251, allocations: 140 kB / 0.7004 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.8252, allocations: 112.2 kB / 0.7005 GB, free: 98.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.8357, allocations: 4.121 MB / 0.7046 GB, free: 97.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.8358, allocations: 13.92 kB / 0.7046 GB, free: 97.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.8358, allocations: 0 / 0.7046 GB, free: 97.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.8358, allocations: 3.656 kB / 0.7046 GB, free: 97.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.8476, allocations: 5.686 MB / 0.7101 GB, free: 93.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.8477, allocations: 0 / 0.7101 GB, free: 93.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.8482, allocations: 105.3 kB / 0.7102 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00449/0.8527, allocations: 1.674 MB / 0.7119 GB, free: 92.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.8528, allocations: 16 kB / 0.7119 GB, free: 92.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/0.8638, allocations: 6.337 MB / 0.7181 GB, free: 86.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8639, allocations: 0 / 0.7181 GB, free: 86.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.8753, allocations: 4.858 MB / 0.7228 GB, free: 82.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.8756, allocations: 194.1 kB / 0.723 GB, free: 82.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.8758, allocations: 12 kB / 0.723 GB, free: 82.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.8768, allocations: 137.3 kB / 0.7231 GB, free: 81.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004681/0.8773, allocations: 203 kB / 0.7233 GB, free: 81.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.8774, allocations: 20 kB / 0.7234 GB, free: 81.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000634/0.878, allocations: 0.5593 MB / 0.7239 GB, free: 81.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.878, allocations: 0 / 0.7239 GB, free: 81.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001052/0.8791, allocations: 415.6 kB / 0.7243 GB, free: 80.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01165/0.8907, allocations: 5.448 MB / 0.7296 GB, free: 75.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004542/0.8953, allocations: 1.978 MB / 0.7316 GB, free: 73.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8953, allocations: 0 / 0.7316 GB, free: 73.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003577/0.8989, allocations: 1.453 MB / 0.733 GB, free: 72.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.8995, allocations: 71.38 kB / 0.733 GB, free: 72.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.9023, allocations: 1.642 MB / 0.7346 GB, free: 70.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.9027, allocations: 1.06 MB / 0.7357 GB, free: 69.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002784/0.903, allocations: 64.47 kB / 0.7357 GB, free: 69.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.9034, allocations: 379.3 kB / 0.7361 GB, free: 69 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.9034, allocations: 0 / 0.7361 GB, free: 69 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/0.9456, allocations: 28.1 MB / 0.7635 GB, free: 41.35 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.9458, allocations: 183.7 kB / 0.7637 GB, free: 41.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.646, allocations: 0 / 0.7637 GB, free: 41.11 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)