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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009956/0.0009955, allocations: 169 kB / 7.645 MB, free: 1.434 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.358/1.358, allocations: 221.5 MB / 229.6 MB, free: 7.512 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.0008699/0.00087, allocations: 98.41 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4376/0.4376, allocations: 78.06 MB / 409.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.666e-05, allocations: 4 kB / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 69.37 MB / 0.5413 GB, free: 6.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3703/0.5081, allocations: 98.13 MB / 0.6371 GB, free: 1.414 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.5083, allocations: 76.48 kB / 0.6372 GB, free: 1.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06553/0.5739, allocations: 24.45 MB / 0.6611 GB, free: 8.949 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5739, allocations: 0 / 0.6611 GB, free: 8.949 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.631e-05/0.574, allocations: 17.31 kB / 0.6611 GB, free: 8.934 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.00525/0.5793, allocations: 1.686 MB / 0.6627 GB, free: 7.203 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5793, allocations: 8.031 kB / 0.6627 GB, free: 7.195 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.583, allocations: 0.5448 MB / 0.6633 GB, free: 6.648 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.5853, allocations: 0.7147 MB / 0.664 GB, free: 5.891 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.5857, allocations: 236.2 kB / 0.6642 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.586, allocations: 40 kB / 0.6642 GB, free: 5.582 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001813/0.5878, allocations: 0.7772 MB / 0.665 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.5896, allocations: 0.8212 MB / 0.6658 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.5896, allocations: 0 / 0.6658 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.5897, allocations: 0 / 0.6658 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5897, allocations: 16 kB / 0.6658 GB, free: 3.957 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006619/0.5964, allocations: 3.397 MB / 0.6691 GB, free: 432 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.5981, allocations: 1.238 MB / 0.6703 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/0.5989, allocations: 0.5461 MB / 0.6709 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.599, allocations: 16.75 kB / 0.6709 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.5991, allocations: 43.34 kB / 0.6709 GB, free: 14.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 5.19e-06/0.5991, allocations: 0 / 0.6709 GB, free: 14.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01205/0.6111, allocations: 3.968 MB / 0.6748 GB, free: 10.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.6112, allocations: 89.88 kB / 0.6749 GB, free: 10.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.6123, allocations: 0.6314 MB / 0.6755 GB, free: 9.703 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.6125, allocations: 25.7 kB / 0.6755 GB, free: 9.672 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.6129, allocations: 461.4 kB / 0.676 GB, free: 9.215 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.6133, allocations: 311.3 kB / 0.6763 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.6134, allocations: 0 / 0.6763 GB, free: 8.906 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6135, allocations: 334 kB / 0.6766 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000747/0.6143, allocations: 430.6 kB / 0.677 GB, free: 8.156 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007967/0.6151, allocations: 0.5363 MB / 0.6775 GB, free: 7.582 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.6159, allocations: 470.3 kB / 0.678 GB, free: 7.129 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6159, allocations: 0 / 0.678 GB, free: 7.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01228/0.6282, allocations: 4.126 MB / 0.682 GB, free: 2.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004201/0.6286, allocations: 0.8742 MB / 0.6829 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.6287, allocations: 4 kB / 0.6829 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/0.6344, allocations: 1.679 MB / 0.6845 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/0.6352, allocations: 139.8 kB / 0.6846 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/0.651, allocations: 7.082 MB / 0.6915 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.6525, allocations: 171.2 kB / 0.6917 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.6527, allocations: 28 kB / 0.6917 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6527, allocations: 4 kB / 0.6917 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01226/0.665, allocations: 3.992 MB / 0.6956 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.665, allocations: 0 / 0.6956 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005612/0.6706, allocations: 1.679 MB / 0.6973 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.6714, allocations: 135.8 kB / 0.6974 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.6862, allocations: 7.097 MB / 0.7043 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.6877, allocations: 163.2 kB / 0.7045 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.6879, allocations: 37.39 kB / 0.7045 GB, free: 11.59 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.0003721/0.6883, allocations: 112.9 kB / 0.7046 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/0.6888, allocations: 106.7 kB / 0.7047 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.7012, allocations: 4.067 MB / 0.7087 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.7013, allocations: 11.94 kB / 0.7087 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7013, allocations: 4 kB / 0.7087 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/0.7013, allocations: 3.984 kB / 0.7087 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.7165, allocations: 5.6 MB / 0.7142 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.7165, allocations: 1 kB / 0.7142 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.7173, allocations: 115.9 kB / 0.7143 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005547/0.7229, allocations: 1.665 MB / 0.7159 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/0.7231, allocations: 0 / 0.7159 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.7365, allocations: 6.194 MB / 0.722 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.7365, allocations: 0 / 0.722 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.7503, allocations: 4.839 MB / 0.7267 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.7508, allocations: 195.5 kB / 0.7269 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.7512, allocations: 4 kB / 0.7269 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.7524, allocations: 123.9 kB / 0.727 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006948/0.7531, allocations: 205.7 kB / 0.7272 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.7533, allocations: 23.95 kB / 0.7272 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008344/0.7541, allocations: 492.1 kB / 0.7277 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7541, allocations: 0 / 0.7277 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002382/0.7565, allocations: 0.6006 MB / 0.7283 GB, free: 2.914 MB / 0.5261 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.0003558/0.7569, allocations: 136.3 kB / 0.7284 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009868/0.7667, allocations: 3.442 MB / 0.7318 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.7668, allocations: 0 / 0.7318 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004405/0.7712, allocations: 1.445 MB / 0.7332 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.7722, allocations: 53.55 kB / 0.7332 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.7758, allocations: 1.54 MB / 0.7348 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/0.7766, allocations: 1.106 MB / 0.7358 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007256/0.7774, allocations: 136.2 kB / 0.736 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.7776, allocations: 43.44 kB / 0.736 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of SimCode: time 1.153e-06/0.7776, allocations: 4 kB / 0.736 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of Templates: time 0.04508/0.8227, allocations: 26.22 MB / 0.7616 GB, free: 0.9453 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)