Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_release_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.006395/0.006395, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.396/1.396, allocations: 223.2 MB / 239 MB, free: 1.812 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.0009594/0.0009595, allocations: 100.3 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5059/0.5059, allocations: 78.58 MB / 419.9 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004123, allocations: 12 kB / 499.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4295, allocations: 69.34 MB / 0.5559 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.5614, allocations: 97.98 MB / 0.6515 GB, free: 8.527 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.5617, allocations: 79.95 kB / 0.6516 GB, free: 8.449 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06589/0.6276, allocations: 24.75 MB / 0.6758 GB, free: 15.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6276, allocations: 0 / 0.6758 GB, free: 15.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.586e-05/0.6277, allocations: 19.94 kB / 0.6758 GB, free: 15.56 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.005567/0.6333, allocations: 1.869 MB / 0.6776 GB, free: 13.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.6333, allocations: 8.031 kB / 0.6776 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003556/0.6337, allocations: 118.5 kB / 0.6777 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.6371, allocations: 0.5487 MB / 0.6783 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.6389, allocations: 0.7148 MB / 0.679 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.6392, allocations: 260.2 kB / 0.6792 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.6394, allocations: 68 kB / 0.6793 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.6417, allocations: 1.05 MB / 0.6803 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.6417, allocations: 0 / 0.6803 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.356e-05/0.6418, allocations: 28 kB / 0.6803 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.6419, allocations: 16 kB / 0.6804 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.6441, allocations: 1.074 MB / 0.6814 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006178/0.6503, allocations: 3.332 MB / 0.6847 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.6525, allocations: 1.413 MB / 0.686 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.6526, allocations: 20.98 kB / 0.6861 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.6526, allocations: 39.56 kB / 0.6861 GB, free: 4.578 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 2.345e-06/0.6526, allocations: 4 kB / 0.6861 GB, free: 4.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.0285/0.6811, allocations: 8.313 MB / 0.6942 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.6812, allocations: 60.41 kB / 0.6943 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.6826, allocations: 0.7172 MB / 0.695 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002347/0.6828, allocations: 45.64 kB / 0.695 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.6832, allocations: 452.3 kB / 0.6955 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004954/0.6837, allocations: 299.6 kB / 0.6957 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.6838, allocations: 16 kB / 0.6958 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.684, allocations: 334 kB / 0.6961 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.6854, allocations: 0.6617 MB / 0.6967 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.6869, allocations: 0.757 MB / 0.6975 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.6884, allocations: 0.6863 MB / 0.6981 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.6884, allocations: 0 / 0.6981 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01458/0.703, allocations: 4.868 MB / 0.7029 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.703, allocations: 8 kB / 0.7029 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.7031, allocations: 4 kB / 0.7029 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007144/0.7102, allocations: 2.161 MB / 0.705 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/0.7109, allocations: 123.9 kB / 0.7051 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/0.7344, allocations: 10.16 MB / 0.715 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.7361, allocations: 175.2 kB / 0.7152 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.7363, allocations: 28 kB / 0.7152 GB, free: 6.461 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.0007097/0.737, allocations: 222.8 kB / 0.7155 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/0.7374, allocations: 106.8 kB / 0.7156 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/0.7513, allocations: 4.782 MB / 0.7202 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.7513, allocations: 8 kB / 0.7202 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7514, allocations: 4 kB / 0.7202 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.7514, allocations: 7.938 kB / 0.7202 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.7674, allocations: 6.336 MB / 0.7264 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.7674, allocations: 0 / 0.7264 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.7682, allocations: 107.8 kB / 0.7265 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006287/0.7745, allocations: 2.05 MB / 0.7285 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/0.7747, allocations: 16 kB / 0.7286 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/0.7939, allocations: 8.647 MB / 0.737 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.794, allocations: 0 / 0.737 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/0.81, allocations: 5.751 MB / 0.7426 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.8106, allocations: 199.6 kB / 0.7428 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/0.811, allocations: 16 kB / 0.7428 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.8124, allocations: 127.9 kB / 0.7429 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007243/0.8131, allocations: 200.6 kB / 0.7431 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.8133, allocations: 27.95 kB / 0.7432 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009395/0.8142, allocations: 0.5663 MB / 0.7437 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8142, allocations: 0 / 0.7437 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001857/0.8161, allocations: 419.5 kB / 0.7441 GB, free: 8.535 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.01646/0.8326, allocations: 6.335 MB / 0.7503 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007018/0.8396, allocations: 2.465 MB / 0.7527 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8397, allocations: 0.5625 kB / 0.7527 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004935/0.8446, allocations: 1.71 MB / 0.7544 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.8456, allocations: 71.38 kB / 0.7544 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/0.8722, allocations: 12.17 MB / 0.7663 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.873, allocations: 1.064 MB / 0.7674 GB, free: 332 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004082/0.8734, allocations: 65.23 kB / 0.7674 GB, free: 264 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2389/1.112, allocations: 373.7 kB / 0.7678 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/1.112, allocations: 0 / 0.7678 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/1.161, allocations: 28.25 MB / 0.7954 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001284/1.161, allocations: 207.6 kB / 0.7956 GB, free: 149.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/4.034, allocations: 0 / 0.7956 GB, free: 149.4 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)