Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 173.9 kB / 12.73 MB, free: 2.59 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.302/1.302, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009711, allocations: 90.55 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4638/0.4638, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.911e-05/3.914e-05, allocations: 11.98 kB / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3245, allocations: 69.5 MB / 0.5491 GB, free: 19.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4527, allocations: 99.48 MB / 0.6463 GB, free: 140 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.453, allocations: 79.95 kB / 0.6463 GB, free: 60 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06679/0.5198, allocations: 25.47 MB / 0.6712 GB, free: 6.406 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5199, allocations: 0 / 0.6712 GB, free: 6.406 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.315e-05/0.5199, allocations: 16 kB / 0.6712 GB, free: 6.391 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004801/0.5248, allocations: 1.687 MB / 0.6729 GB, free: 4.656 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.5248, allocations: 11.97 kB / 0.6729 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.5281, allocations: 0.5409 MB / 0.6734 GB, free: 4.102 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.5295, allocations: 0.7068 MB / 0.6741 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.5298, allocations: 272.1 kB / 0.6744 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.53, allocations: 75.98 kB / 0.6744 GB, free: 2.973 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.5316, allocations: 0.911 MB / 0.6753 GB, free: 2.047 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5316, allocations: 4 kB / 0.6753 GB, free: 2.043 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/0.5317, allocations: 28 kB / 0.6754 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.5317, allocations: 16 kB / 0.6754 GB, free: 2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.5331, allocations: 0.8124 MB / 0.6762 GB, free: 1.188 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3016/0.8348, allocations: 3.544 MB / 0.6796 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.8364, allocations: 1.26 MB / 0.6809 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.8373, allocations: 0.5716 MB / 0.6814 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.8374, allocations: 20.08 kB / 0.6814 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.8375, allocations: 43.27 kB / 0.6815 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.405e-06/0.8375, allocations: 0 / 0.6815 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01349/0.851, allocations: 4.032 MB / 0.6854 GB, free: 103.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.851, allocations: 86.58 kB / 0.6855 GB, free: 103.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.852, allocations: 0.6849 MB / 0.6862 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.8521, allocations: 40.39 kB / 0.6862 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.8524, allocations: 469.5 kB / 0.6866 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.8526, allocations: 320 kB / 0.687 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.8527, allocations: 15 kB / 0.687 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.8528, allocations: 342.5 kB / 0.6873 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006729/0.8535, allocations: 439.9 kB / 0.6877 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.8542, allocations: 0.5493 MB / 0.6882 GB, free: 102.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.8549, allocations: 489.4 kB / 0.6887 GB, free: 102.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.855, allocations: 0 / 0.6887 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01185/0.8668, allocations: 4.192 MB / 0.6928 GB, free: 101.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.867, allocations: 0.8787 MB / 0.6937 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.867, allocations: 5.125 kB / 0.6937 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005204/0.8723, allocations: 1.735 MB / 0.6954 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.873, allocations: 142.3 kB / 0.6955 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.8861, allocations: 7.271 MB / 0.7026 GB, free: 96.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.8875, allocations: 195.1 kB / 0.7028 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.8875, allocations: 29.22 kB / 0.7028 GB, free: 96.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.8876, allocations: 3.75 kB / 0.7028 GB, free: 96.65 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01106/0.8986, allocations: 4.085 MB / 0.7068 GB, free: 95.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.8987, allocations: 3.875 kB / 0.7068 GB, free: 95.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004986/0.9037, allocations: 1.732 MB / 0.7085 GB, free: 94.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.9043, allocations: 139 kB / 0.7086 GB, free: 94.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.9172, allocations: 7.279 MB / 0.7157 GB, free: 87.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.9186, allocations: 176.4 kB / 0.7159 GB, free: 87.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.9187, allocations: 32 kB / 0.7159 GB, free: 87.35 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 (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.000227/0.9189, allocations: 140.9 kB / 0.7161 GB, free: 87.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.9191, allocations: 110 kB / 0.7162 GB, free: 87.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/0.9303, allocations: 4.163 MB / 0.7202 GB, free: 83.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.9304, allocations: 12 kB / 0.7203 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.9304, allocations: 0 / 0.7203 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.9304, allocations: 7.641 kB / 0.7203 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.9437, allocations: 5.759 MB / 0.7259 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.9437, allocations: 4 kB / 0.7259 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.9443, allocations: 118.8 kB / 0.726 GB, free: 79.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004759/0.9491, allocations: 1.681 MB / 0.7277 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.842e-05/0.9492, allocations: 16 kB / 0.7277 GB, free: 77.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.9604, allocations: 6.317 MB / 0.7338 GB, free: 71.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9604, allocations: 4 kB / 0.7338 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.9728, allocations: 4.916 MB / 0.7386 GB, free: 66.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.9732, allocations: 203.4 kB / 0.7388 GB, free: 65.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.9734, allocations: 23.95 kB / 0.7389 GB, free: 65.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.9744, allocations: 135.9 kB / 0.739 GB, free: 65.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005986/0.975, allocations: 204.4 kB / 0.7392 GB, free: 65.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/0.9751, allocations: 20 kB / 0.7392 GB, free: 65.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006165/0.9757, allocations: 0.5358 MB / 0.7397 GB, free: 64.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9757, allocations: 0 / 0.7397 GB, free: 64.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001721/0.9775, allocations: 0.6464 MB / 0.7404 GB, free: 64.32 MB / 490.7 MB 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.0002633/0.9777, allocations: 151.1 kB / 0.7405 GB, free: 64.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008755/0.9865, allocations: 3.561 MB / 0.744 GB, free: 60.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9865, allocations: 0.5625 kB / 0.744 GB, free: 60.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004116/0.9907, allocations: 1.48 MB / 0.7454 GB, free: 59.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.9915, allocations: 78.09 kB / 0.7455 GB, free: 59.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.9942, allocations: 1.568 MB / 0.747 GB, free: 57.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.9946, allocations: 1.106 MB / 0.7481 GB, free: 56.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005692/0.9952, allocations: 135.9 kB / 0.7482 GB, free: 56.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.9954, allocations: 43.44 kB / 0.7483 GB, free: 56.14 MB / 490.7 MB Notification: Performance of SimCode: time 8.11e-07/0.9954, allocations: 4 kB / 0.7483 GB, free: 56.13 MB / 490.7 MB Notification: Performance of Templates: time 0.04442/1.04, allocations: 28.22 MB / 0.7758 GB, free: 28.2 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)