Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.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.Order3test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",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.006505/0.006505, allocations: 170.1 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.519/1.519, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009404, allocations: 97.36 kB / 290.2 MB, free: 4.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.507/0.507, allocations: 79.44 MB / 420.8 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005461/0.0005464, allocations: 11.98 kB / 0.4891 GB, free: 6.234 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1868, allocations: 69.52 MB / 0.557 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.6423, allocations: 99.17 MB / 0.6539 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.6426, allocations: 79.95 kB / 0.6539 GB, free: 1.879 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0671/0.7097, allocations: 25.06 MB / 0.6784 GB, free: 8.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7097, allocations: 0 / 0.6784 GB, free: 8.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000108/0.7098, allocations: 20 kB / 0.6784 GB, free: 8.891 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006071/0.7159, allocations: 1.876 MB / 0.6803 GB, free: 6.965 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.716, allocations: 8.031 kB / 0.6803 GB, free: 6.957 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004022/0.7164, allocations: 118.5 kB / 0.6804 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/0.72, allocations: 0.5507 MB / 0.6809 GB, free: 6.281 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.7218, allocations: 0.7224 MB / 0.6816 GB, free: 5.516 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.7221, allocations: 268.1 kB / 0.6819 GB, free: 5.219 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.7223, allocations: 72 kB / 0.6819 GB, free: 5.148 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.7247, allocations: 1.157 MB / 0.6831 GB, free: 3.977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.7247, allocations: 0 / 0.6831 GB, free: 3.977 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/0.7248, allocations: 28 kB / 0.6831 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.7248, allocations: 16 kB / 0.6831 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.7271, allocations: 1.113 MB / 0.6842 GB, free: 2.82 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0072/0.7343, allocations: 3.578 MB / 0.6877 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.737, allocations: 1.52 MB / 0.6892 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.7371, allocations: 13 kB / 0.6892 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.7372, allocations: 47.55 kB / 0.6892 GB, free: 13.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.326e-06/0.7372, allocations: 0 / 0.6892 GB, free: 13.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02836/0.7656, allocations: 8.133 MB / 0.6972 GB, free: 5.199 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.7657, allocations: 86.11 kB / 0.6973 GB, free: 5.098 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.7673, allocations: 0.7023 MB / 0.698 GB, free: 4.375 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002891/0.7676, allocations: 41.7 kB / 0.698 GB, free: 4.328 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.7681, allocations: 468.4 kB / 0.6984 GB, free: 3.863 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006467/0.7687, allocations: 319.4 kB / 0.6987 GB, free: 3.547 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.7689, allocations: 16 kB / 0.6988 GB, free: 3.531 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.7691, allocations: 338 kB / 0.6991 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.7709, allocations: 0.6774 MB / 0.6997 GB, free: 2.516 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.7726, allocations: 0.7959 MB / 0.7005 GB, free: 1.691 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.7743, allocations: 0.7143 MB / 0.7012 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.7744, allocations: 0 / 0.7012 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01504/0.7894, allocations: 4.86 MB / 0.706 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004354/0.7899, allocations: 0.8769 MB / 0.7068 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.79, allocations: 0 / 0.7068 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007042/0.797, allocations: 2.13 MB / 0.7089 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/0.7979, allocations: 143.8 kB / 0.709 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/0.8216, allocations: 10.01 MB / 0.7188 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.8232, allocations: 187.2 kB / 0.719 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.8235, allocations: 28 kB / 0.719 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.8236, allocations: 4 kB / 0.719 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01438/0.8379, allocations: 4.711 MB / 0.7236 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.838, allocations: 1.781 kB / 0.7236 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006863/0.8449, allocations: 2.125 MB / 0.7257 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/0.8458, allocations: 131.8 kB / 0.7258 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.8694, allocations: 9.998 MB / 0.7356 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.8711, allocations: 179.1 kB / 0.7358 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.8714, allocations: 32 kB / 0.7358 GB, free: 13.22 MB / 0.5261 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 (71): * Single equations (assignments): 70 * 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 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.000809/0.8722, allocations: 291.4 kB / 0.7361 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.8726, allocations: 114.6 kB / 0.7362 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.8865, allocations: 4.833 MB / 0.7409 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.8866, allocations: 13.16 kB / 0.7409 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8866, allocations: 0 / 0.7409 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.8866, allocations: 3.984 kB / 0.7409 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/0.9036, allocations: 6.507 MB / 0.7473 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.9036, allocations: 0 / 0.7473 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.9045, allocations: 119.9 kB / 0.7474 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00647/0.911, allocations: 2.06 MB / 0.7494 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.9112, allocations: 16 kB / 0.7494 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/0.9311, allocations: 8.655 MB / 0.7579 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9312, allocations: 0 / 0.7579 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/0.9475, allocations: 5.829 MB / 0.7636 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/0.9481, allocations: 191.6 kB / 0.7637 GB, free: 232 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/0.9485, allocations: 20 kB / 0.7638 GB, free: 212 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.9498, allocations: 138.2 kB / 0.7639 GB, free: 76 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007603/0.9506, allocations: 212.5 kB / 0.7641 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.9507, allocations: 24 kB / 0.7641 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009413/0.9517, allocations: 0.5471 MB / 0.7646 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9517, allocations: 0 / 0.7646 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002861/0.9545, allocations: 0.6553 MB / 0.7653 GB, free: 14.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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 (56): * Single equations (assignments): 55 * 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.01634/0.9709, allocations: 6.549 MB / 0.7717 GB, free: 8.031 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01178/0.9827, allocations: 4.284 MB / 0.7759 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.9828, allocations: 0 / 0.7759 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004825/0.9876, allocations: 1.752 MB / 0.7776 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.9886, allocations: 79.33 kB / 0.7777 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.9946, allocations: 4.223 MB / 0.7818 GB, free: 13.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/0.9954, allocations: 1.1 MB / 0.7829 GB, free: 12.44 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004739/0.9959, allocations: 73.44 kB / 0.7829 GB, free: 12.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.9964, allocations: 399.3 kB / 0.7833 GB, free: 11.97 MB / 0.573 GB Notification: Performance of SimCode: time 1.132e-06/0.9964, allocations: 0 / 0.7833 GB, free: 11.97 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3427/1.339, allocations: 35.05 MB / 0.8175 GB, free: 155.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.339, allocations: 201 kB / 0.8177 GB, free: 155.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/4.338, allocations: 0 / 0.8177 GB, free: 155.4 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)