Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08187/0.08187, allocations: 12.21 MB / 27.16 MB, free: 112 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009208/0.0009208, allocations: 106.9 kB / 30.66 MB, free: 6.43 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.4 MB / 239.5 MB, free: 10.67 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.0009836/0.0009835, allocations: 169.2 kB / 290.6 MB, free: 8.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4239/0.4239, allocations: 78.5 MB / 420.1 MB, free: 6.582 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008535/0.0008537, allocations: 31.59 kB / 0.4894 GB, free: 37.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1098, allocations: 69.26 MB / 0.557 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005158/0.115, allocations: 5.363 MB / 0.5623 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.1181, allocations: 1.8 MB / 0.564 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.1186, allocations: 8 kB / 0.564 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.1189, allocations: 150.9 kB / 0.5642 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1202, allocations: 0.6423 MB / 0.5648 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1213, allocations: 0.5218 MB / 0.5653 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1223, allocations: 0.8773 MB / 0.5662 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.1226, allocations: 231.4 kB / 0.5664 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/0.1231, allocations: 486.1 kB / 0.5668 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005926/0.1237, allocations: 0.5951 MB / 0.5674 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-05/0.1238, allocations: 52 kB / 0.5675 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.1242, allocations: 163.8 kB / 0.5676 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1244, allocations: 207.1 kB / 0.5678 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1245, allocations: 209.1 kB / 0.568 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008904/0.1254, allocations: 1.021 MB / 0.569 GB, free: 12.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1254, allocations: 7.938 kB / 0.569 GB, free: 12.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1254, allocations: 0 / 0.569 GB, free: 12.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1255, allocations: 0 / 0.569 GB, free: 12.5 MB / 398.1 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.006989/0.1325, allocations: 2.287 MB / 0.5713 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1325, allocations: 11.98 kB / 0.5713 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.1372, allocations: 0.7751 MB / 0.572 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.1383, allocations: 0.7057 MB / 0.5727 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.1386, allocations: 268.1 kB / 0.573 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.1387, allocations: 79.89 kB / 0.573 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.1409, allocations: 1.157 MB / 0.5742 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1409, allocations: 4 kB / 0.5742 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.141, allocations: 24 kB / 0.5742 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.141, allocations: 20 kB / 0.5742 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.1432, allocations: 1.12 MB / 0.5753 GB, free: 5.895 MB / 398.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.005606/0.1488, allocations: 3.678 MB / 0.5789 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.1513, allocations: 1.544 MB / 0.5804 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/0.1514, allocations: 16.97 kB / 0.5804 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1514, allocations: 47.56 kB / 0.5805 GB, free: 288 kB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.015e-06/0.1514, allocations: 0 / 0.5805 GB, free: 288 kB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.02541/0.1768, allocations: 7.935 MB / 0.5882 GB, free: 8.312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.1769, allocations: 90.11 kB / 0.5883 GB, free: 8.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.178, allocations: 0.8204 MB / 0.5891 GB, free: 7.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.1781, allocations: 49.64 kB / 0.5892 GB, free: 7.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.1785, allocations: 456.6 kB / 0.5896 GB, free: 6.855 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.1788, allocations: 323.4 kB / 0.5899 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.1789, allocations: 20 kB / 0.5899 GB, free: 6.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.179, allocations: 349.9 kB / 0.5903 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.1806, allocations: 0.7639 MB / 0.591 GB, free: 5.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.1823, allocations: 0.9017 MB / 0.5919 GB, free: 4.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.1839, allocations: 0.8186 MB / 0.5927 GB, free: 3.648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1839, allocations: 0 / 0.5927 GB, free: 3.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01395/0.1979, allocations: 5.125 MB / 0.5977 GB, free: 14.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003282/0.1982, allocations: 0.8858 MB / 0.5986 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.1983, allocations: 7.953 kB / 0.5986 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00648/0.2048, allocations: 2.108 MB / 0.6006 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009265/0.2057, allocations: 199.7 kB / 0.6008 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/0.227, allocations: 10.01 MB / 0.6106 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.2284, allocations: 210.9 kB / 0.6108 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.25e-05/0.2286, allocations: 39.98 kB / 0.6108 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.2286, allocations: 4 kB / 0.6108 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01398/0.2425, allocations: 4.972 MB / 0.6157 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.2426, allocations: 0 / 0.6157 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006644/0.2493, allocations: 2.116 MB / 0.6178 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2503, allocations: 191.8 kB / 0.6179 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/0.2722, allocations: 10.01 MB / 0.6277 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.2737, allocations: 187.1 kB / 0.6279 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.2738, allocations: 43.98 kB / 0.6279 GB, free: 15.17 MB / 462.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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.0005759/0.2744, allocations: 300.9 kB / 0.6282 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.2746, allocations: 110.6 kB / 0.6283 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.288, allocations: 4.83 MB / 0.633 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.2881, allocations: 8 kB / 0.6331 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2881, allocations: 0 / 0.6331 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.2881, allocations: 11.98 kB / 0.6331 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.3035, allocations: 6.54 MB / 0.6394 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.3036, allocations: 0 / 0.6394 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.3042, allocations: 119.9 kB / 0.6396 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006183/0.3104, allocations: 2.053 MB / 0.6416 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.3106, allocations: 19.98 kB / 0.6416 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0186/0.3292, allocations: 8.652 MB / 0.65 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3292, allocations: 0 / 0.65 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/0.3447, allocations: 5.829 MB / 0.6557 GB, free: 2.348 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.3451, allocations: 203.5 kB / 0.6559 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.3452, allocations: 20 kB / 0.6559 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000971/0.3462, allocations: 131.9 kB / 0.6561 GB, free: 1.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005436/0.3468, allocations: 212.6 kB / 0.6563 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.3468, allocations: 24 kB / 0.6563 GB, free: 1.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006538/0.3475, allocations: 0.5512 MB / 0.6568 GB, free: 1.188 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3475, allocations: 0 / 0.6568 GB, free: 1.188 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001766/0.3493, allocations: 0.6905 MB / 0.6575 GB, free: 0.4961 MB / 478.1 MB 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.0002656/0.3496, allocations: 127.1 kB / 0.6576 GB, free: 368 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2001/0.5496, allocations: 4.615 MB / 0.6621 GB, free: 96.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.5497, allocations: 0 / 0.6621 GB, free: 96.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004451/0.5542, allocations: 1.752 MB / 0.6638 GB, free: 96.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.5548, allocations: 75.48 kB / 0.6639 GB, free: 96.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.5581, allocations: 2.377 MB / 0.6662 GB, free: 95.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.5587, allocations: 1.1 MB / 0.6673 GB, free: 94.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004383/0.5591, allocations: 102.9 kB / 0.6674 GB, free: 94.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.5593, allocations: 58.03 kB / 0.6675 GB, free: 94.36 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5593, allocations: 0 / 0.6675 GB, free: 94.36 MB / 478.1 MB Notification: Performance of Templates: time 0.03487/0.5942, allocations: 27.12 MB / 0.694 GB, free: 78.59 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1) Environment - environmentSimulation: