Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.2 MB / 218.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008896/0.0008896, allocations: 96.33 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0693/0.0693, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2979/0.2979, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.417e-05, allocations: 8 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 69.24 MB / 0.5889 GB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.5557, allocations: 99.38 MB / 0.686 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.5559, allocations: 78.02 kB / 0.6861 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06225/0.6182, allocations: 23.89 MB / 0.7094 GB, free: 12.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6182, allocations: 0 / 0.7094 GB, free: 12.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.034e-05/0.6183, allocations: 16 kB / 0.7094 GB, free: 12.59 MB / 458.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.00504/0.6234, allocations: 1.654 MB / 0.711 GB, free: 10.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.6234, allocations: 15.98 kB / 0.711 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003342/0.6238, allocations: 122.4 kB / 0.7112 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.6271, allocations: 0.5408 MB / 0.7117 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.6286, allocations: 0.7128 MB / 0.7124 GB, free: 9.793 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.6289, allocations: 257.3 kB / 0.7126 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.6291, allocations: 65.31 kB / 0.7127 GB, free: 9.484 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.6305, allocations: 0.8143 MB / 0.7135 GB, free: 8.961 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.6305, allocations: 0 / 0.7135 GB, free: 8.961 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/0.6306, allocations: 26.44 kB / 0.7135 GB, free: 8.957 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.6306, allocations: 16 kB / 0.7135 GB, free: 8.941 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.6319, allocations: 0.7978 MB / 0.7143 GB, free: 8.449 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/0.6372, allocations: 3.334 MB / 0.7176 GB, free: 5.859 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.6387, allocations: 1.166 MB / 0.7187 GB, free: 4.871 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008215/0.6395, allocations: 0.5623 MB / 0.7193 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.6396, allocations: 12.77 kB / 0.7193 GB, free: 4.559 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.6397, allocations: 46.02 kB / 0.7193 GB, free: 4.512 MB / 458.7 MB Notification: Performance of pre-optimization done (n=85): time 2.234e-06/0.6397, allocations: 0 / 0.7193 GB, free: 4.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=85): time 0.01238/0.6521, allocations: 4.016 MB / 0.7232 GB, free: 1.031 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6523, allocations: 64.19 kB / 0.7233 GB, free: 0.957 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.6535, allocations: 0.7049 MB / 0.724 GB, free: 416 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.6538, allocations: 44.12 kB / 0.724 GB, free: 376 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.6541, allocations: 453.1 kB / 0.7245 GB, free: 120 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004822/0.6546, allocations: 300.7 kB / 0.7247 GB, free: 15.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/0.6547, allocations: 14.75 kB / 0.7248 GB, free: 15.85 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6548, allocations: 332 kB / 0.7251 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/0.6556, allocations: 434.8 kB / 0.7255 GB, free: 15.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008723/0.6565, allocations: 0.5299 MB / 0.726 GB, free: 14.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008369/0.6574, allocations: 468.8 kB / 0.7265 GB, free: 14.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.6574, allocations: 3.781 kB / 0.7265 GB, free: 14.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0125/0.6699, allocations: 4.217 MB / 0.7306 GB, free: 11.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.6699, allocations: 4 kB / 0.7306 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.67, allocations: 7.984 kB / 0.7306 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006053/0.676, allocations: 1.787 MB / 0.7323 GB, free: 9.496 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.6767, allocations: 119.4 kB / 0.7324 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/0.6922, allocations: 7.413 MB / 0.7397 GB, free: 4.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.6937, allocations: 183.1 kB / 0.7399 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.6939, allocations: 27.98 kB / 0.7399 GB, free: 3.961 MB / 474.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.0002799/0.6942, allocations: 148.8 kB / 0.74 GB, free: 3.809 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.6945, allocations: 110.6 kB / 0.7401 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.7066, allocations: 4.125 MB / 0.7442 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.7066, allocations: 8 kB / 0.7442 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.7067, allocations: 0 / 0.7442 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/0.7067, allocations: 7.969 kB / 0.7442 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.7217, allocations: 5.687 MB / 0.7497 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.7218, allocations: 0 / 0.7497 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.7224, allocations: 99.89 kB / 0.7498 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00516/0.7276, allocations: 1.679 MB / 0.7515 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.7278, allocations: 23.94 kB / 0.7515 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.7411, allocations: 6.329 MB / 0.7577 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7412, allocations: 0 / 0.7577 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/0.7546, allocations: 4.858 MB / 0.7624 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.7551, allocations: 195.6 kB / 0.7626 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/0.7555, allocations: 16 kB / 0.7626 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.7567, allocations: 131.9 kB / 0.7627 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006999/0.7574, allocations: 200.4 kB / 0.7629 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.7575, allocations: 20 kB / 0.7629 GB, free: 12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009809/0.7585, allocations: 0.551 MB / 0.7635 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7585, allocations: 0 / 0.7635 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001546/0.7601, allocations: 419.5 kB / 0.7639 GB, free: 11.02 MB / 0.4948 GB 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.01402/0.7741, allocations: 5.457 MB / 0.7692 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005417/0.7796, allocations: 1.969 MB / 0.7711 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.7796, allocations: 0 / 0.7711 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00441/0.784, allocations: 1.458 MB / 0.7726 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.7848, allocations: 71.34 kB / 0.7726 GB, free: 2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.7887, allocations: 1.633 MB / 0.7742 GB, free: 336 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.7894, allocations: 1.072 MB / 0.7753 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003537/0.7898, allocations: 61.23 kB / 0.7753 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/0.7904, allocations: 379.3 kB / 0.7757 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/0.7904, allocations: 0 / 0.7757 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/0.8439, allocations: 28.12 MB / 0.8031 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.8443, allocations: 167.7 kB / 0.8033 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/3.635, allocations: 0 / 0.8033 GB, free: 2.559 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)