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.006554/0.006554, allocations: 170.5 kB / 15.11 MB, free: 5.969 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.281/1.281, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009244/0.0009244, allocations: 106.5 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4662/0.4662, allocations: 79.44 MB / 420.8 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004255, allocations: 12 kB / 0.4891 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3792, allocations: 69.5 MB / 0.557 GB, free: 38.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.5154, allocations: 98.57 MB / 0.6533 GB, free: 6.988 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5157, allocations: 85.16 kB / 0.6533 GB, free: 6.906 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06699/0.5827, allocations: 25.02 MB / 0.6778 GB, free: 13.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5828, allocations: 0 / 0.6778 GB, free: 13.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.721e-05/0.5828, allocations: 23.94 kB / 0.6778 GB, free: 13.74 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.007901/0.5907, allocations: 1.869 MB / 0.6796 GB, free: 11.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.5908, allocations: 8.031 kB / 0.6796 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000422/0.5912, allocations: 122.5 kB / 0.6797 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/0.5965, allocations: 0.5487 MB / 0.6803 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.5993, allocations: 0.7186 MB / 0.681 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003957/0.5997, allocations: 252.2 kB / 0.6812 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.6, allocations: 75.95 kB / 0.6813 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.6035, allocations: 1.046 MB / 0.6823 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.6036, allocations: 0 / 0.6823 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.6037, allocations: 28 kB / 0.6823 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.6037, allocations: 16 kB / 0.6824 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003671/0.6074, allocations: 1.074 MB / 0.6834 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.6177, allocations: 3.34 MB / 0.6867 GB, free: 4.344 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.6216, allocations: 1.406 MB / 0.688 GB, free: 2.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.6218, allocations: 20.97 kB / 0.6881 GB, free: 2.801 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.6218, allocations: 39.56 kB / 0.6881 GB, free: 2.754 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 5.621e-06/0.6219, allocations: 0 / 0.6881 GB, free: 2.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.05153/0.6734, allocations: 8.314 MB / 0.6962 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.6735, allocations: 64.39 kB / 0.6963 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.6753, allocations: 0.7133 MB / 0.697 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.6755, allocations: 41.7 kB / 0.697 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/0.6761, allocations: 456.3 kB / 0.6974 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/0.6765, allocations: 299.6 kB / 0.6977 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.6766, allocations: 19.94 kB / 0.6978 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6767, allocations: 337.9 kB / 0.6981 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.6782, allocations: 0.6578 MB / 0.6987 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.6798, allocations: 0.7492 MB / 0.6994 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.6813, allocations: 0.698 MB / 0.7001 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6813, allocations: 0 / 0.7001 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01525/0.6966, allocations: 4.864 MB / 0.7049 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.6967, allocations: 9.5 kB / 0.7049 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.6967, allocations: 11.94 kB / 0.7049 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007434/0.7042, allocations: 2.165 MB / 0.707 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.7049, allocations: 123.8 kB / 0.7071 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/0.7277, allocations: 10.14 MB / 0.717 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.7292, allocations: 179.2 kB / 0.7172 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.7294, allocations: 28 kB / 0.7172 GB, free: 4.637 MB / 0.5105 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 () * Number of clocked 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.0005714/0.73, allocations: 213.7 kB / 0.7174 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.7303, allocations: 102.8 kB / 0.7175 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.7444, allocations: 4.786 MB / 0.7222 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.7445, allocations: 8 kB / 0.7222 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7445, allocations: 3.953 kB / 0.7222 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.7445, allocations: 3.984 kB / 0.7222 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.7606, allocations: 6.341 MB / 0.7284 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.7607, allocations: 0 / 0.7284 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007059/0.7614, allocations: 99.89 kB / 0.7285 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006401/0.7678, allocations: 2.056 MB / 0.7305 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/0.7681, allocations: 19.95 kB / 0.7305 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.7873, allocations: 8.643 MB / 0.739 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7874, allocations: 0 / 0.739 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/0.8038, allocations: 5.759 MB / 0.7446 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005995/0.8044, allocations: 199.6 kB / 0.7448 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/0.8049, allocations: 16 kB / 0.7448 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.8062, allocations: 127.9 kB / 0.7449 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007643/0.807, allocations: 204.6 kB / 0.7451 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.8071, allocations: 24 kB / 0.7451 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001002/0.8082, allocations: 0.5663 MB / 0.7457 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8082, allocations: 0 / 0.7457 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001646/0.8098, allocations: 411.5 kB / 0.7461 GB, free: 6.719 MB / 0.5417 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 () * Number of clocked 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.01658/0.8264, allocations: 6.339 MB / 0.7523 GB, free: 352 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007335/0.8338, allocations: 2.458 MB / 0.7547 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.8339, allocations: 4 kB / 0.7547 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004896/0.8388, allocations: 1.717 MB / 0.7564 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.8396, allocations: 71.39 kB / 0.7564 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2914/1.131, allocations: 12.16 MB / 0.7683 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/1.132, allocations: 1.068 MB / 0.7694 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004801/1.132, allocations: 60.69 kB / 0.7694 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/1.133, allocations: 378.1 kB / 0.7698 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.272e-06/1.133, allocations: 0 / 0.7698 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/1.188, allocations: 28.25 MB / 0.7974 GB, free: 146.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/1.188, allocations: 196.9 kB / 0.7976 GB, free: 146.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.03/4.218, allocations: 0 / 0.7976 GB, free: 146.6 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)