Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005233/0.005233, allocations: 171.1 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.241/1.241, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008608/0.0008607, allocations: 97.77 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4472/0.4472, allocations: 78.58 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 12 kB / 499.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3556, allocations: 69.34 MB / 0.5558 GB, free: 38.74 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.4675, allocations: 98.6 MB / 0.6521 GB, free: 7.914 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4678, allocations: 83.95 kB / 0.6521 GB, free: 7.832 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06235/0.5302, allocations: 24.77 MB / 0.6763 GB, free: 14.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5302, allocations: 0 / 0.6763 GB, free: 14.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.833e-05/0.5303, allocations: 19.98 kB / 0.6763 GB, free: 14.91 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005568/0.5359, allocations: 1.862 MB / 0.6782 GB, free: 13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5359, allocations: 12.03 kB / 0.6782 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003305/0.5392, allocations: 0.5487 MB / 0.6787 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.5409, allocations: 0.7107 MB / 0.6794 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.5412, allocations: 268.1 kB / 0.6797 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.5414, allocations: 75.95 kB / 0.6797 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.5437, allocations: 1.153 MB / 0.6809 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.5438, allocations: 4 kB / 0.6809 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/0.5439, allocations: 28 kB / 0.6809 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.5439, allocations: 16 kB / 0.6809 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.5462, allocations: 1.113 MB / 0.682 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006218/0.5524, allocations: 3.574 MB / 0.6855 GB, free: 5.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.5547, allocations: 1.525 MB / 0.687 GB, free: 3.594 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.579e-05/0.5548, allocations: 16.98 kB / 0.687 GB, free: 3.578 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5549, allocations: 43.56 kB / 0.687 GB, free: 3.527 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.595e-06/0.5549, allocations: 0 / 0.687 GB, free: 3.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02719/0.5821, allocations: 8.13 MB / 0.695 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.5822, allocations: 90.11 kB / 0.6951 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.5833, allocations: 0.6945 MB / 0.6957 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/0.5835, allocations: 41.7 kB / 0.6958 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.5838, allocations: 472.4 kB / 0.6962 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.5842, allocations: 315.3 kB / 0.6965 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.5843, allocations: 19.94 kB / 0.6965 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5845, allocations: 342 kB / 0.6969 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.5859, allocations: 0.6735 MB / 0.6975 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.5874, allocations: 0.7891 MB / 0.6983 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.5889, allocations: 0.7182 MB / 0.699 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5889, allocations: 3.938 kB / 0.699 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0137/0.6026, allocations: 4.86 MB / 0.7037 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003183/0.6029, allocations: 0.8769 MB / 0.7046 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.603, allocations: 4 kB / 0.7046 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006533/0.6095, allocations: 2.122 MB / 0.7067 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.6102, allocations: 139.8 kB / 0.7068 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0216/0.6319, allocations: 10.01 MB / 0.7166 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.6333, allocations: 191.2 kB / 0.7168 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.6334, allocations: 24 kB / 0.7168 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.6334, allocations: 7.938 kB / 0.7168 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01345/0.6469, allocations: 4.715 MB / 0.7214 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.647, allocations: 0 / 0.7214 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006424/0.6534, allocations: 2.117 MB / 0.7235 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.6541, allocations: 135.8 kB / 0.7236 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/0.6759, allocations: 10 MB / 0.7334 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.6774, allocations: 167.3 kB / 0.7335 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.6775, allocations: 31.98 kB / 0.7336 GB, free: 3.367 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.0005501/0.678, allocations: 301 kB / 0.7339 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.6782, allocations: 110.6 kB / 0.734 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.6922, allocations: 4.833 MB / 0.7387 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.6922, allocations: 12 kB / 0.7387 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6922, allocations: 0 / 0.7387 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.6923, allocations: 3.984 kB / 0.7387 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.7082, allocations: 6.51 MB / 0.7451 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.7083, allocations: 0 / 0.7451 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.709, allocations: 111.9 kB / 0.7452 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006175/0.7152, allocations: 2.061 MB / 0.7472 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.7154, allocations: 24 kB / 0.7472 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/0.7339, allocations: 8.647 MB / 0.7556 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.734, allocations: 7.938 kB / 0.7556 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/0.7495, allocations: 5.828 MB / 0.7613 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.75, allocations: 199.6 kB / 0.7615 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.7502, allocations: 16 kB / 0.7615 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.7512, allocations: 135.9 kB / 0.7617 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006278/0.7518, allocations: 208.6 kB / 0.7619 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/0.7519, allocations: 24 kB / 0.7619 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007631/0.7527, allocations: 0.5471 MB / 0.7624 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7527, allocations: 0 / 0.7624 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001807/0.7545, allocations: 0.6514 MB / 0.7631 GB, free: 4.762 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.0002709/0.7548, allocations: 145.3 kB / 0.7632 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01105/0.7659, allocations: 4.297 MB / 0.7674 GB, free: 304 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.7659, allocations: 0 / 0.7674 GB, free: 304 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.2274/0.9933, allocations: 1.735 MB / 0.7691 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/0.9943, allocations: 79.84 kB / 0.7692 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.9984, allocations: 2.367 MB / 0.7715 GB, free: 148.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/0.9991, allocations: 1.1 MB / 0.7726 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004488/0.9996, allocations: 79.84 kB / 0.7726 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.9998, allocations: 51.48 kB / 0.7727 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.333e-06/0.9998, allocations: 0 / 0.7727 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.04009/1.04, allocations: 26.56 MB / 0.7986 GB, free: 146.7 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)