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.002127/0.002133, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0009615/0.0009615, allocations: 105.1 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6543/0.6543, allocations: 78.95 MB / 410.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.447e-05, allocations: 4 kB / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1697, allocations: 69.51 MB / 0.5425 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5233/0.6931, allocations: 97.82 MB / 0.638 GB, free: 128 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.6934, allocations: 76.77 kB / 0.6381 GB, free: 52 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06664/0.76, allocations: 24.62 MB / 0.6622 GB, free: 7.496 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7601, allocations: 0 / 0.6622 GB, free: 7.496 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.732e-05/0.7602, allocations: 19.94 kB / 0.6622 GB, free: 7.477 MB / 474.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.005289/0.7655, allocations: 1.651 MB / 0.6638 GB, free: 5.781 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.7655, allocations: 8.031 kB / 0.6638 GB, free: 5.773 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/0.769, allocations: 0.5435 MB / 0.6643 GB, free: 5.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.771, allocations: 0.7074 MB / 0.665 GB, free: 4.484 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.7713, allocations: 236.2 kB / 0.6653 GB, free: 4.219 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.7716, allocations: 43.91 kB / 0.6653 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0017/0.7733, allocations: 0.7616 MB / 0.666 GB, free: 3.414 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.775, allocations: 0.7258 MB / 0.6668 GB, free: 2.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.775, allocations: 0 / 0.6668 GB, free: 2.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/0.7751, allocations: 0 / 0.6668 GB, free: 2.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.7751, allocations: 16 kB / 0.6668 GB, free: 2.664 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00633/0.7815, allocations: 3.209 MB / 0.6699 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.783, allocations: 1.149 MB / 0.671 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/0.7838, allocations: 0.531 MB / 0.6715 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.784, allocations: 12.78 kB / 0.6716 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.784, allocations: 43.34 kB / 0.6716 GB, free: 13.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 2.815e-06/0.784, allocations: 0 / 0.6716 GB, free: 13.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.012/0.796, allocations: 3.949 MB / 0.6755 GB, free: 9.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.7961, allocations: 64.19 kB / 0.6755 GB, free: 9.406 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.7974, allocations: 0.6503 MB / 0.6761 GB, free: 8.734 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.7976, allocations: 25.7 kB / 0.6762 GB, free: 8.703 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.798, allocations: 460.2 kB / 0.6766 GB, free: 8.246 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/0.7984, allocations: 287.6 kB / 0.6769 GB, free: 7.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.7985, allocations: 0 / 0.6769 GB, free: 7.961 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7987, allocations: 341.9 kB / 0.6772 GB, free: 7.621 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007751/0.7995, allocations: 416.1 kB / 0.6776 GB, free: 7.215 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008257/0.8003, allocations: 0.5116 MB / 0.6781 GB, free: 6.672 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007983/0.8011, allocations: 448.4 kB / 0.6785 GB, free: 6.234 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.8011, allocations: 0 / 0.6785 GB, free: 6.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01219/0.8133, allocations: 4.133 MB / 0.6826 GB, free: 2.086 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.8134, allocations: 8 kB / 0.6826 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.8134, allocations: 0 / 0.6826 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006174/0.8196, allocations: 1.744 MB / 0.6843 GB, free: 340 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/0.8206, allocations: 123.8 kB / 0.6844 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/0.8363, allocations: 7.222 MB / 0.6915 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.8379, allocations: 163.2 kB / 0.6916 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.8381, allocations: 32.92 kB / 0.6916 GB, free: 8.676 MB / 0.4948 GB 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.000353/0.8385, allocations: 121.8 kB / 0.6918 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01188/0.8504, allocations: 3.964 MB / 0.6956 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005635/0.851, allocations: 102.8 kB / 0.6957 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.8636, allocations: 4.04 MB / 0.6997 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.8636, allocations: 12 kB / 0.6997 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8636, allocations: 0 / 0.6997 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/0.8637, allocations: 3.984 kB / 0.6997 GB, free: 408 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.8788, allocations: 5.52 MB / 0.7051 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.8788, allocations: 0 / 0.7051 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.8796, allocations: 111.8 kB / 0.7052 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005367/0.885, allocations: 1.664 MB / 0.7068 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.8853, allocations: 0 / 0.7068 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/0.8985, allocations: 6.189 MB / 0.7129 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.8985, allocations: 0 / 0.7129 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.9119, allocations: 4.783 MB / 0.7175 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.9125, allocations: 199.6 kB / 0.7177 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004282/0.9129, allocations: 11.95 kB / 0.7177 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.9143, allocations: 111.9 kB / 0.7178 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007198/0.915, allocations: 200.4 kB / 0.718 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.9152, allocations: 24 kB / 0.718 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009543/0.9162, allocations: 0.5036 MB / 0.7185 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.783e-06/0.9162, allocations: 0.6562 kB / 0.7185 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001772/0.918, allocations: 383.4 kB / 0.7189 GB, free: 12.41 MB / 0.5261 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.01379/0.9318, allocations: 5.359 MB / 0.7241 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005867/0.9377, allocations: 1.911 MB / 0.726 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.9378, allocations: 3.938 kB / 0.726 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004534/0.9423, allocations: 1.409 MB / 0.7274 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.9434, allocations: 58.84 kB / 0.7274 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.9476, allocations: 1.58 MB / 0.729 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.9483, allocations: 1.064 MB / 0.73 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003661/0.9487, allocations: 57.23 kB / 0.7301 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/0.9493, allocations: 383.3 kB / 0.7304 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of SimCode: time 1.412e-06/0.9493, allocations: 0 / 0.7304 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06624/1.016, allocations: 26.19 MB / 0.756 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/1.016, allocations: 137.1 kB / 0.7561 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/4.116, allocations: 0.875 kB / 0.7562 GB, free: 6.332 MB / 0.5573 GB (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)