Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.001449/0.001449, allocations: 177.5 kB / 7.649 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.403/1.403, 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.0009361/0.0009361, allocations: 90.05 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4719/0.4719, allocations: 78.07 MB / 409.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.959e-05, allocations: 3.938 kB / 485 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 69.36 MB / 0.5414 GB, free: 6.703 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.647, allocations: 98.13 MB / 0.6372 GB, free: 1.238 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.6474, allocations: 80.89 kB / 0.6373 GB, free: 1.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06564/0.713, allocations: 24.45 MB / 0.6612 GB, free: 8.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.7131, allocations: 4 kB / 0.6612 GB, free: 8.766 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.986e-05/0.7131, allocations: 16 kB / 0.6612 GB, free: 8.75 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004519/0.7177, allocations: 1.68 MB / 0.6628 GB, free: 7.023 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.7177, allocations: 8.031 kB / 0.6628 GB, free: 7.016 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.7209, allocations: 0.5449 MB / 0.6634 GB, free: 6.469 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.7224, allocations: 0.7185 MB / 0.6641 GB, free: 5.707 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.7226, allocations: 240.2 kB / 0.6643 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.7228, allocations: 44 kB / 0.6643 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001352/0.7241, allocations: 0.7733 MB / 0.6651 GB, free: 4.617 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.7255, allocations: 0.8095 MB / 0.6659 GB, free: 3.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.7256, allocations: 3.984 kB / 0.6659 GB, free: 3.793 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.33e-05/0.7257, allocations: 0 / 0.6659 GB, free: 3.793 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.7257, allocations: 21.12 kB / 0.6659 GB, free: 3.773 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00587/0.7316, allocations: 3.4 MB / 0.6692 GB, free: 240 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.7333, allocations: 1.233 MB / 0.6704 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.734, allocations: 0.5422 MB / 0.671 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.7341, allocations: 16.78 kB / 0.671 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.7342, allocations: 39.34 kB / 0.671 GB, free: 14.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.126e-06/0.7342, allocations: 0 / 0.671 GB, free: 14.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01201/0.7462, allocations: 3.972 MB / 0.6749 GB, free: 10.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.7463, allocations: 89.89 kB / 0.675 GB, free: 10.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.7473, allocations: 0.6275 MB / 0.6756 GB, free: 9.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002923/0.7476, allocations: 26.92 kB / 0.6756 GB, free: 9.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.7481, allocations: 464.4 kB / 0.6761 GB, free: 9.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.7485, allocations: 303.3 kB / 0.6764 GB, free: 8.734 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.7485, allocations: 4 kB / 0.6764 GB, free: 8.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7487, allocations: 341.9 kB / 0.6767 GB, free: 8.391 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007975/0.7495, allocations: 426.6 kB / 0.6771 GB, free: 7.977 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008252/0.7504, allocations: 0.5362 MB / 0.6776 GB, free: 7.402 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.7511, allocations: 466.3 kB / 0.6781 GB, free: 6.953 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7511, allocations: 0 / 0.6781 GB, free: 6.953 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01232/0.7634, allocations: 4.122 MB / 0.6821 GB, free: 2.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003875/0.7639, allocations: 0.8858 MB / 0.6829 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.7639, allocations: 2.688 kB / 0.6829 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/0.7694, allocations: 1.681 MB / 0.6846 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000768/0.7702, allocations: 144.4 kB / 0.6847 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.7845, allocations: 7.084 MB / 0.6916 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.786, allocations: 171.1 kB / 0.6918 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.7861, allocations: 31.98 kB / 0.6918 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7861, allocations: 4 kB / 0.6918 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01179/0.7979, allocations: 3.977 MB / 0.6957 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.798, allocations: 8.562 kB / 0.6957 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005455/0.8034, allocations: 1.675 MB / 0.6974 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/0.8042, allocations: 131.8 kB / 0.6975 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.8178, allocations: 7.085 MB / 0.7044 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.8193, allocations: 163.2 kB / 0.7046 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.8194, allocations: 35.94 kB / 0.7046 GB, free: 11.42 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.0002916/0.8197, allocations: 119.6 kB / 0.7047 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01182/0.8315, allocations: 3.968 MB / 0.7086 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.832, allocations: 114.7 kB / 0.7087 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.844, allocations: 4.075 MB / 0.7127 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.8441, allocations: 11.98 kB / 0.7127 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8441, allocations: 4 kB / 0.7127 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.8441, allocations: 7.969 kB / 0.7127 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.8582, allocations: 5.598 MB / 0.7182 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.8582, allocations: 0 / 0.7182 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/0.859, allocations: 115.9 kB / 0.7183 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005122/0.8641, allocations: 1.663 MB / 0.7199 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.8643, allocations: 7.984 kB / 0.7199 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.8773, allocations: 6.192 MB / 0.726 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.8774, allocations: 5.875 kB / 0.726 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/0.8906, allocations: 4.831 MB / 0.7307 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.8911, allocations: 195.5 kB / 0.7309 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.8913, allocations: 3.984 kB / 0.7309 GB, free: 188 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.8923, allocations: 125 kB / 0.731 GB, free: 64 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/0.893, allocations: 208.4 kB / 0.7312 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/0.893, allocations: 27.95 kB / 0.7312 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006433/0.8937, allocations: 492 kB / 0.7317 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8937, allocations: 0 / 0.7317 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001791/0.8955, allocations: 0.5889 MB / 0.7323 GB, free: 14.75 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * 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.0136/0.9091, allocations: 5.549 MB / 0.7377 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009995/0.9192, allocations: 3.445 MB / 0.7411 GB, free: 5.684 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.9192, allocations: 1.312 kB / 0.7411 GB, free: 5.684 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00412/0.9233, allocations: 1.434 MB / 0.7425 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.9241, allocations: 71.69 kB / 0.7425 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.9277, allocations: 1.679 MB / 0.7442 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.9283, allocations: 1.106 MB / 0.7452 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006032/0.9289, allocations: 137.4 kB / 0.7454 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.9294, allocations: 391.3 kB / 0.7457 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/0.9294, allocations: 3.938 kB / 0.7457 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3942/1.324, allocations: 34.54 MB / 0.7795 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/1.324, allocations: 129.1 kB / 0.7796 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.04/4.364, allocations: 0 / 0.7796 GB, free: 148.5 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)