Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_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.008701/0.008701, allocations: 170 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.441/1.441, allocations: 223.2 MB / 239 MB, free: 64 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.0008651/0.0008651, allocations: 97.61 kB / 290.2 MB, free: 4.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5635/0.5635, allocations: 78.52 MB / 419.8 MB, free: 36.23 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004591, allocations: 15.98 kB / 499.8 MB, free: 7.008 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1893, allocations: 69.36 MB / 0.5558 GB, free: 1.672 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/0.6182, allocations: 98.59 MB / 0.6521 GB, free: 3.582 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.6185, allocations: 80.88 kB / 0.6522 GB, free: 3.539 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06292/0.6814, allocations: 24.77 MB / 0.6764 GB, free: 11.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6815, allocations: 0 / 0.6764 GB, free: 11.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.375e-05/0.6816, allocations: 20 kB / 0.6764 GB, free: 11.25 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.005167/0.6867, allocations: 1.876 MB / 0.6782 GB, free: 9.328 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.6868, allocations: 8.031 kB / 0.6782 GB, free: 9.32 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/0.687, allocations: 122.5 kB / 0.6783 GB, free: 9.191 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.6902, allocations: 0.5487 MB / 0.6789 GB, free: 8.641 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.6918, allocations: 0.7185 MB / 0.6796 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/0.6921, allocations: 260.1 kB / 0.6798 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.6923, allocations: 75.98 kB / 0.6799 GB, free: 7.516 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.6945, allocations: 1.157 MB / 0.681 GB, free: 6.344 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.6946, allocations: 0 / 0.681 GB, free: 6.344 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.6947, allocations: 34.62 kB / 0.6811 GB, free: 6.312 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.6947, allocations: 16 kB / 0.6811 GB, free: 6.297 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.697, allocations: 1.117 MB / 0.6822 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006437/0.7034, allocations: 3.562 MB / 0.6856 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.7059, allocations: 1.528 MB / 0.6871 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-05/0.706, allocations: 16.98 kB / 0.6871 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.7061, allocations: 47.5 kB / 0.6872 GB, free: 15.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.176e-06/0.7061, allocations: 0 / 0.6872 GB, free: 15.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.0276/0.7337, allocations: 8.134 MB / 0.6951 GB, free: 7.559 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.7338, allocations: 86.11 kB / 0.6952 GB, free: 7.457 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.735, allocations: 0.6984 MB / 0.6959 GB, free: 6.738 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.7352, allocations: 41.7 kB / 0.6959 GB, free: 6.691 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.7357, allocations: 464.4 kB / 0.6964 GB, free: 6.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.736, allocations: 315.4 kB / 0.6967 GB, free: 5.918 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.7361, allocations: 16 kB / 0.6967 GB, free: 5.902 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7362, allocations: 345.9 kB / 0.697 GB, free: 5.559 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.7377, allocations: 0.6773 MB / 0.6977 GB, free: 4.879 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.7392, allocations: 0.7866 MB / 0.6985 GB, free: 4.062 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.7407, allocations: 0.7208 MB / 0.6992 GB, free: 3.348 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.7407, allocations: 0 / 0.6992 GB, free: 3.348 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01435/0.7551, allocations: 4.86 MB / 0.7039 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004174/0.7556, allocations: 0.873 MB / 0.7048 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.7556, allocations: 0.7031 kB / 0.7048 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006619/0.7622, allocations: 2.134 MB / 0.7068 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/0.763, allocations: 139.8 kB / 0.707 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/0.7846, allocations: 10.01 MB / 0.7168 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.7861, allocations: 191.2 kB / 0.7169 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/0.7862, allocations: 28 kB / 0.717 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.7862, allocations: 6.656 kB / 0.717 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0135/0.7998, allocations: 4.711 MB / 0.7216 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.7998, allocations: 0 / 0.7216 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006396/0.8062, allocations: 2.121 MB / 0.7236 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/0.807, allocations: 136.7 kB / 0.7238 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/0.8289, allocations: 10 MB / 0.7335 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.8304, allocations: 179.2 kB / 0.7337 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.8305, allocations: 31.98 kB / 0.7337 GB, free: 15.59 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.000605/0.8311, allocations: 298 kB / 0.734 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.8313, allocations: 110.7 kB / 0.7341 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.8447, allocations: 4.833 MB / 0.7388 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.8447, allocations: 8 kB / 0.7389 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8448, allocations: 1.125 kB / 0.7389 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.8448, allocations: 7.984 kB / 0.7389 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.8609, allocations: 6.496 MB / 0.7452 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/0.861, allocations: 3.984 kB / 0.7452 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/0.8618, allocations: 115.8 kB / 0.7453 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006322/0.8682, allocations: 2.053 MB / 0.7473 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/0.8685, allocations: 27.92 kB / 0.7474 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/0.8876, allocations: 8.656 MB / 0.7558 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.8877, allocations: 3 kB / 0.7558 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/0.9033, allocations: 5.828 MB / 0.7615 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005831/0.904, allocations: 191.6 kB / 0.7617 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.9041, allocations: 23.98 kB / 0.7617 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.9052, allocations: 138.3 kB / 0.7618 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006736/0.9059, allocations: 208.6 kB / 0.762 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/0.9059, allocations: 24 kB / 0.7621 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007949/0.9067, allocations: 0.5432 MB / 0.7626 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9067, allocations: 0 / 0.7626 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002053/0.9088, allocations: 0.6553 MB / 0.7632 GB, free: 1 MB / 0.5417 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.01597/0.9248, allocations: 6.555 MB / 0.7696 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01146/0.9363, allocations: 4.283 MB / 0.7738 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.9363, allocations: 3.938 kB / 0.7738 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004717/0.9411, allocations: 1.746 MB / 0.7755 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.942, allocations: 75.38 kB / 0.7756 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005591/0.9476, allocations: 4.215 MB / 0.7797 GB, free: 15.94 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009129/0.9485, allocations: 1.096 MB / 0.7808 GB, free: 14.82 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005425/0.9491, allocations: 81.42 kB / 0.7809 GB, free: 14.73 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/0.9497, allocations: 399.3 kB / 0.7812 GB, free: 14.34 MB / 0.573 GB Notification: Performance of SimCode: time 1.242e-06/0.9497, allocations: 0 / 0.7812 GB, free: 14.34 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.349/1.299, allocations: 35.05 MB / 0.8155 GB, free: 156.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.299, allocations: 192.4 kB / 0.8157 GB, free: 156.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/4.4, allocations: 3.938 kB / 0.8157 GB, free: 156.4 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)