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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005267/0.005267, allocations: 102.6 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 239.4 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 184.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.504/0.504, allocations: 91.9 MB / 431.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 84.34 kB / 0.5727 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1367, allocations: 71.27 MB / 0.6423 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.006654/0.1433, allocations: 6.157 MB / 0.6483 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.1468, allocations: 1.891 MB / 0.6502 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004153/0.1472, allocations: 12 kB / 0.6502 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.1477, allocations: 206.2 kB / 0.6504 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.1493, allocations: 0.7431 MB / 0.6511 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1505, allocations: 0.65 MB / 0.6518 GB, free: 9.906 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1517, allocations: 1.358 MB / 0.6531 GB, free: 8.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.1522, allocations: 287.3 kB / 0.6534 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005836/0.1527, allocations: 0.564 MB / 0.6539 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/0.1534, allocations: 0.6845 MB / 0.6546 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.1536, allocations: 96 kB / 0.6547 GB, free: 6.902 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.1539, allocations: 239.8 kB / 0.6549 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.1542, allocations: 262.8 kB / 0.6552 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004426/0.1546, allocations: 0.5787 MB / 0.6557 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1559, allocations: 1.456 MB / 0.6571 GB, free: 4.367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1559, allocations: 0 / 0.6571 GB, free: 4.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1559, allocations: 0 / 0.6571 GB, free: 4.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.1559, allocations: 0 / 0.6571 GB, free: 4.367 MB / 462.1 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.007663/0.1636, allocations: 2.442 MB / 0.6595 GB, free: 1.871 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1637, allocations: 8.031 kB / 0.6595 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.1687, allocations: 0.7634 MB / 0.6603 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.1698, allocations: 0.7476 MB / 0.661 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.1701, allocations: 252.2 kB / 0.6612 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.1703, allocations: 80.05 kB / 0.6613 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.1726, allocations: 1.094 MB / 0.6624 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1726, allocations: 0 / 0.6624 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.67e-05/0.1727, allocations: 28 kB / 0.6624 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.1727, allocations: 16 kB / 0.6624 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.1752, allocations: 1.023 MB / 0.6634 GB, free: 13.77 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006539/0.1817, allocations: 3.492 MB / 0.6668 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.1842, allocations: 1.422 MB / 0.6682 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.1857, allocations: 0.7439 MB / 0.669 GB, free: 7.832 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.1858, allocations: 17 kB / 0.669 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.1859, allocations: 47.56 kB / 0.669 GB, free: 7.762 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 2.454e-06/0.1859, allocations: 3.938 kB / 0.669 GB, free: 7.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.0291/0.215, allocations: 6.898 MB / 0.6758 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.2151, allocations: 90.09 kB / 0.6758 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2162, allocations: 0.8242 MB / 0.6767 GB, free: 15.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.2163, allocations: 37.7 kB / 0.6767 GB, free: 15.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.2166, allocations: 452.6 kB / 0.6771 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.217, allocations: 323.3 kB / 0.6774 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004036/0.2174, allocations: 206.8 kB / 0.6776 GB, free: 14.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2175, allocations: 345.9 kB / 0.678 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.2192, allocations: 0.7126 MB / 0.6787 GB, free: 13.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.2209, allocations: 0.8354 MB / 0.6795 GB, free: 12.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.2241, allocations: 1.517 MB / 0.6809 GB, free: 11.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.2241, allocations: 0 / 0.6809 GB, free: 11.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01444/0.2386, allocations: 4.234 MB / 0.6851 GB, free: 7.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.2387, allocations: 8 kB / 0.6851 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.2387, allocations: 4 kB / 0.6851 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006593/0.2453, allocations: 1.783 MB / 0.6868 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.2463, allocations: 199.7 kB / 0.687 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/0.2691, allocations: 9.292 MB / 0.6961 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.2707, allocations: 170.8 kB / 0.6963 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/0.2708, allocations: 36 kB / 0.6963 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001928/0.2727, allocations: 0.8582 MB / 0.6971 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001729/0.2745, allocations: 0.8275 MB / 0.6979 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003123/0.2776, allocations: 1.498 MB / 0.6994 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.042e-06/0.2776, allocations: 0 / 0.6994 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01434/0.292, allocations: 4.21 MB / 0.7035 GB, free: 4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.292, allocations: 9.562 kB / 0.7035 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2921, allocations: 0 / 0.7035 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/0.2986, allocations: 1.788 MB / 0.7053 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.2997, allocations: 191.7 kB / 0.7055 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/0.3225, allocations: 9.295 MB / 0.7145 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.324, allocations: 155.1 kB / 0.7147 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3241, allocations: 39.98 kB / 0.7147 GB, free: 8.383 MB / 0.5137 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 (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003082/0.3244, allocations: 232 kB / 0.7149 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.3247, allocations: 110.6 kB / 0.715 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/0.3383, allocations: 3.904 MB / 0.7189 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.3384, allocations: 11.94 kB / 0.7189 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3384, allocations: 0 / 0.7189 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.3384, allocations: 3.984 kB / 0.7189 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.3538, allocations: 5.548 MB / 0.7243 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.3539, allocations: 0 / 0.7243 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.3545, allocations: 107.9 kB / 0.7244 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006099/0.3606, allocations: 1.749 MB / 0.7261 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-05/0.3607, allocations: 16 kB / 0.7261 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/0.3799, allocations: 8.056 MB / 0.734 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3799, allocations: 0 / 0.734 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.3954, allocations: 4.854 MB / 0.7387 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.3958, allocations: 195.6 kB / 0.7389 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.3959, allocations: 19.98 kB / 0.7389 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009997/0.3969, allocations: 99.89 kB / 0.739 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005882/0.3975, allocations: 212.5 kB / 0.7392 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.3976, allocations: 20 kB / 0.7392 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006702/0.3983, allocations: 0.5549 MB / 0.7398 GB, free: 14.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3983, allocations: 4 kB / 0.7398 GB, free: 14.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001771/0.4001, allocations: 0.6905 MB / 0.7405 GB, free: 13.63 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002582/0.4003, allocations: 132.3 kB / 0.7406 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01191/0.4123, allocations: 4.192 MB / 0.7447 GB, free: 9.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.4123, allocations: 4.062 kB / 0.7447 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004852/0.4172, allocations: 1.55 MB / 0.7462 GB, free: 7.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.4181, allocations: 93.77 kB / 0.7463 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.4219, allocations: 2.031 MB / 0.7483 GB, free: 5.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.4226, allocations: 1.081 MB / 0.7493 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004515/0.423, allocations: 106.8 kB / 0.7494 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.4233, allocations: 63.42 kB / 0.7495 GB, free: 4.277 MB / 0.545 GB Notification: Performance of SimCode: time 1.814e-06/0.4233, allocations: 0 / 0.7495 GB, free: 4.277 MB / 0.545 GB Notification: Performance of Templates: time 0.3124/0.7357, allocations: 31.54 MB / 0.7803 GB, free: 116.8 MB / 0.5606 GB 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)