Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0008674/0.0008674, allocations: 169 kB / 7.646 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008205/0.0008206, allocations: 87.58 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06389/0.06389, allocations: 12.2 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2833/0.2833, allocations: 78.06 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.942e-05, allocations: 8 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 69.23 MB / 0.5818 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.5275, allocations: 99.37 MB / 0.6789 GB, free: 9.133 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.5277, allocations: 80.89 kB / 0.679 GB, free: 9.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05889/0.5866, allocations: 23.64 MB / 0.702 GB, free: 5.734 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5867, allocations: 0 / 0.702 GB, free: 5.734 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.669e-05/0.5868, allocations: 21.31 kB / 0.7021 GB, free: 5.715 MB / 442.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.004334/0.5911, allocations: 1.68 MB / 0.7037 GB, free: 4.102 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.5911, allocations: 12.03 kB / 0.7037 GB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.5942, allocations: 0.5479 MB / 0.7043 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.5956, allocations: 0.698 MB / 0.7049 GB, free: 2.977 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.5959, allocations: 242.5 kB / 0.7052 GB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.596, allocations: 43.91 kB / 0.7052 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001295/0.5973, allocations: 0.7794 MB / 0.706 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.5987, allocations: 0.8115 MB / 0.7068 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5987, allocations: 0 / 0.7068 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.5988, allocations: 4 kB / 0.7068 GB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.5988, allocations: 16 kB / 0.7068 GB, free: 1.617 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005725/0.6046, allocations: 3.442 MB / 0.7101 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.6061, allocations: 1.231 MB / 0.7113 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.6068, allocations: 0.5495 MB / 0.7119 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.607, allocations: 16.75 kB / 0.7119 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.607, allocations: 41.97 kB / 0.7119 GB, free: 13.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 2.585e-06/0.607, allocations: 0 / 0.7119 GB, free: 13.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01167/0.6187, allocations: 3.968 MB / 0.7158 GB, free: 10.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.6188, allocations: 85.89 kB / 0.7159 GB, free: 9.992 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/0.6198, allocations: 0.637 MB / 0.7165 GB, free: 9.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.6199, allocations: 25.7 kB / 0.7165 GB, free: 9.469 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.6203, allocations: 465.1 kB / 0.717 GB, free: 9.203 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.6206, allocations: 298.5 kB / 0.7173 GB, free: 8.941 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.6207, allocations: 4 kB / 0.7173 GB, free: 8.938 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.6208, allocations: 331.2 kB / 0.7176 GB, free: 8.621 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/0.6215, allocations: 430.4 kB / 0.718 GB, free: 8.398 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/0.6223, allocations: 0.5229 MB / 0.7185 GB, free: 8.055 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.623, allocations: 461.5 kB / 0.719 GB, free: 7.805 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.623, allocations: 0 / 0.719 GB, free: 7.805 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01171/0.6347, allocations: 4.095 MB / 0.723 GB, free: 4.258 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003918/0.6351, allocations: 0.8869 MB / 0.7238 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.6351, allocations: 0 / 0.7238 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005684/0.6408, allocations: 1.685 MB / 0.7255 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.6417, allocations: 145.4 kB / 0.7256 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/0.6568, allocations: 7.098 MB / 0.7325 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.6583, allocations: 167.2 kB / 0.7327 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.6585, allocations: 31.98 kB / 0.7327 GB, free: 12.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6585, allocations: 4 kB / 0.7327 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01214/0.6707, allocations: 3.96 MB / 0.7366 GB, free: 8.664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.6708, allocations: 3.984 kB / 0.7366 GB, free: 8.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005523/0.6763, allocations: 1.69 MB / 0.7382 GB, free: 6.965 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.6771, allocations: 135.8 kB / 0.7384 GB, free: 6.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/0.6924, allocations: 7.098 MB / 0.7453 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.6939, allocations: 159.3 kB / 0.7455 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.6941, allocations: 24 kB / 0.7455 GB, free: 15.43 MB / 490.7 MB 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 (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.0003521/0.6944, allocations: 124.6 kB / 0.7456 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01208/0.7065, allocations: 3.961 MB / 0.7495 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/0.707, allocations: 106.7 kB / 0.7496 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.7196, allocations: 4.071 MB / 0.7535 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.7197, allocations: 8 kB / 0.7536 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7197, allocations: 0 / 0.7536 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.7197, allocations: 3.984 kB / 0.7536 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.7342, allocations: 5.654 MB / 0.7591 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.7343, allocations: 0 / 0.7591 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.7349, allocations: 119.8 kB / 0.7592 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005143/0.7401, allocations: 1.663 MB / 0.7608 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.7403, allocations: 11.92 kB / 0.7608 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/0.7528, allocations: 6.207 MB / 0.7669 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.7528, allocations: 0 / 0.7669 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/0.7665, allocations: 4.818 MB / 0.7716 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.767, allocations: 191.6 kB / 0.7718 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/0.7674, allocations: 4 kB / 0.7718 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.7686, allocations: 124 kB / 0.7719 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006567/0.7693, allocations: 216.3 kB / 0.7721 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.7694, allocations: 20 kB / 0.7721 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007943/0.7702, allocations: 0.4885 MB / 0.7726 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7702, allocations: 0 / 0.7726 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002202/0.7725, allocations: 0.5889 MB / 0.7732 GB, free: 2.695 MB / 0.4948 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 () * 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.01368/0.7861, allocations: 5.533 MB / 0.7786 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009981/0.7962, allocations: 3.447 MB / 0.7819 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.7962, allocations: 4.125 kB / 0.782 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004396/0.8006, allocations: 1.426 MB / 0.7833 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009967/0.8017, allocations: 59.42 kB / 0.7834 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.8058, allocations: 1.628 MB / 0.785 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.8066, allocations: 1.102 MB / 0.7861 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006631/0.8072, allocations: 132.2 kB / 0.7862 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.8077, allocations: 387.3 kB / 0.7866 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.8077, allocations: 4 kB / 0.7866 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06816/0.8759, allocations: 34.5 MB / 0.8203 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.8762, allocations: 134.1 kB / 0.8204 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/3.799, allocations: 3.938 kB / 0.8204 GB, free: 2.145 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)