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.08363/0.08363, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 105.8 kB / 30.69 MB, free: 5 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.334/1.334, allocations: 205.4 MB / 239.5 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009711/0.000971, allocations: 188.1 kB / 290.6 MB, free: 11.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4506/0.4506, allocations: 78.53 MB / 420.1 MB, free: 11.5 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.0008959/0.0008961, allocations: 31.98 kB / 0.4895 GB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2966, allocations: 69.22 MB / 0.5571 GB, free: 21.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.004021/0.3006, allocations: 5.661 MB / 0.5626 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.3035, allocations: 1.757 MB / 0.5643 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.3041, allocations: 15.94 kB / 0.5643 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.3046, allocations: 146.9 kB / 0.5645 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.3059, allocations: 0.5847 MB / 0.565 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.3068, allocations: 0.5259 MB / 0.5656 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008868/0.3077, allocations: 1.218 MB / 0.5667 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.308, allocations: 239.4 kB / 0.567 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.3085, allocations: 489.8 kB / 0.5674 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.309, allocations: 0.6027 MB / 0.568 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.309, allocations: 52 kB / 0.5681 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.3094, allocations: 175.9 kB / 0.5682 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3095, allocations: 207 kB / 0.5684 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3096, allocations: 213 kB / 0.5686 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006384/0.3103, allocations: 1.075 MB / 0.5697 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3103, allocations: 0 / 0.5697 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3103, allocations: 3.938 kB / 0.5697 GB, free: 8.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3103, allocations: 0 / 0.5697 GB, free: 8.055 MB / 382.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.006039/0.3164, allocations: 2.291 MB / 0.5719 GB, free: 5.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3164, allocations: 15.98 kB / 0.5719 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/0.321, allocations: 0.779 MB / 0.5727 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.3219, allocations: 0.698 MB / 0.5734 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.3222, allocations: 272.1 kB / 0.5736 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.3223, allocations: 72 kB / 0.5737 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.3241, allocations: 1.161 MB / 0.5749 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3242, allocations: 0 / 0.5749 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.3242, allocations: 32 kB / 0.5749 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3243, allocations: 23.98 kB / 0.5749 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.3262, allocations: 1.113 MB / 0.576 GB, free: 1.449 MB / 382.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.005389/0.3316, allocations: 3.582 MB / 0.5795 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.334, allocations: 1.548 MB / 0.581 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.3354, allocations: 0.8203 MB / 0.5818 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.3356, allocations: 13 kB / 0.5818 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3356, allocations: 47.55 kB / 0.5819 GB, free: 11.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 2.936e-06/0.3356, allocations: 4 kB / 0.5819 GB, free: 11.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.02402/0.3596, allocations: 7.934 MB / 0.5896 GB, free: 3.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.3597, allocations: 86.11 kB / 0.5897 GB, free: 3.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.3608, allocations: 0.8282 MB / 0.5905 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.3611, allocations: 41.7 kB / 0.5905 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.3614, allocations: 456.6 kB / 0.591 GB, free: 1.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.3618, allocations: 323.4 kB / 0.5913 GB, free: 1.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.3618, allocations: 24 kB / 0.5913 GB, free: 1.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.362, allocations: 349.9 kB / 0.5916 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.3635, allocations: 0.7639 MB / 0.5924 GB, free: 256 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.3652, allocations: 0.9057 MB / 0.5933 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.3668, allocations: 0.8224 MB / 0.5941 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.3668, allocations: 3.953 kB / 0.5941 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01331/0.3802, allocations: 5.117 MB / 0.5991 GB, free: 9.352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.3803, allocations: 158 kB / 0.5992 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3803, allocations: 7.984 kB / 0.5992 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006092/0.3864, allocations: 2.108 MB / 0.6013 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/0.3874, allocations: 203.7 kB / 0.6015 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02046/0.4079, allocations: 9.563 MB / 0.6108 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.4094, allocations: 199 kB / 0.611 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4095, allocations: 39.98 kB / 0.6111 GB, free: 12.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4095, allocations: 4 kB / 0.6111 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.013/0.4225, allocations: 4.968 MB / 0.6159 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.4226, allocations: 11.95 kB / 0.6159 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006184/0.4288, allocations: 2.112 MB / 0.618 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/0.4298, allocations: 195.7 kB / 0.6182 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/0.4505, allocations: 9.546 MB / 0.6275 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4519, allocations: 199 kB / 0.6277 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.4522, allocations: 39.98 kB / 0.6277 GB, free: 11.69 MB / 446.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.0005908/0.4528, allocations: 304.9 kB / 0.628 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.4531, allocations: 118.5 kB / 0.6281 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.466, allocations: 4.822 MB / 0.6328 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.4661, allocations: 11.95 kB / 0.6328 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4661, allocations: 0 / 0.6328 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.4661, allocations: 3.984 kB / 0.6328 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.4816, allocations: 6.532 MB / 0.6392 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.4817, allocations: 4 kB / 0.6392 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.4824, allocations: 115.8 kB / 0.6393 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005856/0.4882, allocations: 2.05 MB / 0.6413 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/0.4885, allocations: 23.98 kB / 0.6414 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.5061, allocations: 8.221 MB / 0.6494 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.5062, allocations: 4 kB / 0.6494 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.521, allocations: 5.805 MB / 0.6551 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.5214, allocations: 195.6 kB / 0.6553 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.5217, allocations: 16 kB / 0.6553 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.5228, allocations: 147.8 kB / 0.6554 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006995/0.5235, allocations: 204.6 kB / 0.6556 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.5236, allocations: 20 kB / 0.6556 GB, free: 14.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008215/0.5244, allocations: 0.5512 MB / 0.6562 GB, free: 14.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5244, allocations: 0 / 0.6562 GB, free: 14.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002302/0.5267, allocations: 0.6866 MB / 0.6568 GB, free: 13.5 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.0004102/0.5272, allocations: 129.9 kB / 0.657 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01137/0.5386, allocations: 4.618 MB / 0.6615 GB, free: 8.719 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.5386, allocations: 0 / 0.6615 GB, free: 8.719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004588/0.5432, allocations: 1.749 MB / 0.6632 GB, free: 6.953 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.5444, allocations: 87.42 kB / 0.6633 GB, free: 6.867 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.5487, allocations: 2.36 MB / 0.6656 GB, free: 4.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007838/0.5495, allocations: 1.085 MB / 0.6666 GB, free: 3.367 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005089/0.55, allocations: 98.67 kB / 0.6667 GB, free: 3.266 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.5503, allocations: 63.42 kB / 0.6668 GB, free: 3.207 MB / 478.1 MB Notification: Performance of SimCode: time 1.031e-06/0.5503, allocations: 0 / 0.6668 GB, free: 3.207 MB / 478.1 MB Notification: Performance of Templates: time 0.3095/0.8598, allocations: 27.13 MB / 0.6933 GB, free: 118.5 MB / 494.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: