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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001482/0.001482, allocations: 174.2 kB / 7.647 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.392/1.392, allocations: 221.5 MB / 229.6 MB, free: 7.539 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.0009087/0.0009086, allocations: 83.38 kB / 280.5 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6093/0.6093, allocations: 78.94 MB / 410.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.915e-05, allocations: 0 / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1593, allocations: 69.51 MB / 0.5424 GB, free: 5.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.6168, allocations: 98.44 MB / 0.6386 GB, free: 15.72 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.617, allocations: 75.95 kB / 0.6386 GB, free: 15.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06681/0.6839, allocations: 24.66 MB / 0.6627 GB, free: 7.051 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6839, allocations: 0 / 0.6627 GB, free: 7.051 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.778e-05/0.684, allocations: 16 kB / 0.6627 GB, free: 7.035 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.004593/0.6886, allocations: 1.675 MB / 0.6644 GB, free: 5.316 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.6886, allocations: 12.02 kB / 0.6644 GB, free: 5.305 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.692, allocations: 0.5449 MB / 0.6649 GB, free: 4.758 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.6936, allocations: 0.6995 MB / 0.6656 GB, free: 4.016 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.6939, allocations: 244.2 kB / 0.6658 GB, free: 3.738 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.694, allocations: 40 kB / 0.6659 GB, free: 3.699 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001426/0.6954, allocations: 0.7818 MB / 0.6666 GB, free: 2.918 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6969, allocations: 0.8056 MB / 0.6674 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.6969, allocations: 0 / 0.6674 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.697, allocations: 0 / 0.6674 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.697, allocations: 19.98 kB / 0.6674 GB, free: 2.082 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006604/0.7036, allocations: 3.446 MB / 0.6708 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.7054, allocations: 1.23 MB / 0.672 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/0.7062, allocations: 0.5484 MB / 0.6725 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.7064, allocations: 20.72 kB / 0.6726 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.7064, allocations: 43.34 kB / 0.6726 GB, free: 12.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.7064, allocations: 0 / 0.6726 GB, free: 12.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01228/0.7187, allocations: 3.957 MB / 0.6765 GB, free: 8.539 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.7188, allocations: 89.89 kB / 0.6765 GB, free: 8.434 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.7198, allocations: 0.6315 MB / 0.6772 GB, free: 7.781 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.72, allocations: 25.7 kB / 0.6772 GB, free: 7.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.7203, allocations: 465.2 kB / 0.6776 GB, free: 7.289 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.7207, allocations: 299.4 kB / 0.6779 GB, free: 6.992 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.7207, allocations: 4 kB / 0.6779 GB, free: 6.988 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7209, allocations: 341.9 kB / 0.6783 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/0.7216, allocations: 422.6 kB / 0.6787 GB, free: 6.238 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/0.7224, allocations: 0.524 MB / 0.6792 GB, free: 5.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.7231, allocations: 464.4 kB / 0.6796 GB, free: 5.227 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7231, allocations: 4 kB / 0.6796 GB, free: 5.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0125/0.7356, allocations: 4.101 MB / 0.6836 GB, free: 1.105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004483/0.7361, allocations: 0.8773 MB / 0.6845 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.7361, allocations: 4 kB / 0.6845 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005838/0.742, allocations: 1.693 MB / 0.6861 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.7428, allocations: 135.8 kB / 0.6863 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.7577, allocations: 7.09 MB / 0.6932 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.7592, allocations: 171.2 kB / 0.6933 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.609e-05/0.7593, allocations: 28 kB / 0.6934 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.7594, allocations: 4 kB / 0.6934 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0122/0.7716, allocations: 3.953 MB / 0.6972 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.7716, allocations: 4 kB / 0.6972 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005515/0.7771, allocations: 1.691 MB / 0.6989 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.7779, allocations: 131.8 kB / 0.699 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/0.7923, allocations: 7.112 MB / 0.706 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.7938, allocations: 159.2 kB / 0.7061 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/0.7939, allocations: 27.98 kB / 0.7061 GB, free: 9.711 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 (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.0002805/0.7942, allocations: 125.5 kB / 0.7063 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.7944, allocations: 106.7 kB / 0.7064 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.807, allocations: 4.063 MB / 0.7103 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.8071, allocations: 12 kB / 0.7103 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8071, allocations: 6.5 kB / 0.7103 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.379e-05/0.8071, allocations: 7.938 kB / 0.7104 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.8224, allocations: 5.646 MB / 0.7159 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.8225, allocations: 4.062 kB / 0.7159 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.8232, allocations: 111.9 kB / 0.716 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005246/0.8285, allocations: 1.663 MB / 0.7176 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/0.8287, allocations: 17.11 kB / 0.7176 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.8418, allocations: 6.21 MB / 0.7237 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/0.8419, allocations: 0 / 0.7237 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.8556, allocations: 4.812 MB / 0.7284 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.8561, allocations: 191.6 kB / 0.7286 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.8563, allocations: 0 / 0.7286 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.8574, allocations: 127.8 kB / 0.7287 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006212/0.858, allocations: 204.4 kB / 0.7289 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.116e-05/0.8581, allocations: 24 kB / 0.7289 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007109/0.8588, allocations: 0.4962 MB / 0.7294 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8588, allocations: 3.938 kB / 0.7294 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002176/0.861, allocations: 0.5889 MB / 0.73 GB, free: 0.957 MB / 0.5261 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.0003391/0.8614, allocations: 132 kB / 0.7301 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01042/0.8718, allocations: 3.437 MB / 0.7335 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.8719, allocations: 0.6562 kB / 0.7335 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004977/0.8769, allocations: 1.431 MB / 0.7349 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.8785, allocations: 55.42 kB / 0.7349 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.8828, allocations: 1.475 MB / 0.7363 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/0.8836, allocations: 1.106 MB / 0.7374 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006772/0.8843, allocations: 128.7 kB / 0.7375 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.8845, allocations: 39.44 kB / 0.7376 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of SimCode: time 7.32e-07/0.8845, allocations: 0 / 0.7376 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of Templates: time 0.3489/1.233, allocations: 26.18 MB / 0.7632 GB, free: 149.9 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)