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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.305/1.305, allocations: 223.3 MB / 239 MB, free: 5.445 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.0009384/0.0009384, allocations: 184.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4319/0.4319, allocations: 78.56 MB / 419.9 MB, free: 4.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 12 kB / 499.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 69.36 MB / 0.5558 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2147/0.3329, allocations: 5.642 MB / 0.5613 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003627/0.3366, allocations: 1.795 MB / 0.5631 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.3378, allocations: 14.31 kB / 0.5631 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.3384, allocations: 146.5 kB / 0.5632 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.3404, allocations: 0.5847 MB / 0.5638 GB, free: 36.94 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_Inputs_Outputs.xq <> order4_Inputs_Outputs.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.3417, allocations: 0.5311 MB / 0.5643 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.3435, allocations: 1.227 MB / 0.5655 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.344, allocations: 234.6 kB / 0.5657 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.3448, allocations: 484.5 kB / 0.5662 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.3455, allocations: 0.6114 MB / 0.5668 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3456, allocations: 48.62 kB / 0.5668 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.3461, allocations: 170.7 kB / 0.567 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.3462, allocations: 211.2 kB / 0.5672 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.3465, allocations: 211 kB / 0.5674 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009734/0.3474, allocations: 1.069 MB / 0.5684 GB, free: 35.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3475, allocations: 0 / 0.5684 GB, free: 35.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3475, allocations: 3.062 kB / 0.5684 GB, free: 35.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.82e-05/0.3475, allocations: 4.031 kB / 0.5685 GB, free: 35.92 MB / 430.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.006721/0.3542, allocations: 2.282 MB / 0.5707 GB, free: 35.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3543, allocations: 8.375 kB / 0.5707 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.3591, allocations: 0.7867 MB / 0.5715 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.3603, allocations: 0.6941 MB / 0.5721 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.3605, allocations: 269 kB / 0.5724 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.3607, allocations: 78.98 kB / 0.5725 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.3627, allocations: 1.168 MB / 0.5736 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3627, allocations: 0 / 0.5736 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.3628, allocations: 24.66 kB / 0.5736 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.3628, allocations: 16.56 kB / 0.5736 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.3648, allocations: 1.12 MB / 0.5747 GB, free: 34.38 MB / 430.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.00522/0.37, allocations: 3.535 MB / 0.5782 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.3721, allocations: 1.534 MB / 0.5797 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.3734, allocations: 0.8214 MB / 0.5805 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.3735, allocations: 18.67 kB / 0.5805 GB, free: 31.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3735, allocations: 46.09 kB / 0.5806 GB, free: 31.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.036e-06/0.3736, allocations: 2.625 kB / 0.5806 GB, free: 31.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02472/0.3983, allocations: 8.514 MB / 0.5889 GB, free: 29.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.3984, allocations: 87.61 kB / 0.589 GB, free: 29.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.3995, allocations: 0.8197 MB / 0.5898 GB, free: 29.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002708/0.3998, allocations: 41.05 kB / 0.5898 GB, free: 29.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.4001, allocations: 446 kB / 0.5902 GB, free: 28.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/0.4005, allocations: 335.9 kB / 0.5905 GB, free: 28.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.785e-05/0.4006, allocations: 21.22 kB / 0.5906 GB, free: 28.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.4007, allocations: 351.2 kB / 0.5909 GB, free: 28.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.4023, allocations: 0.7711 MB / 0.5917 GB, free: 28.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.4042, allocations: 0.9163 MB / 0.5925 GB, free: 27.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.4061, allocations: 0.831 MB / 0.5934 GB, free: 27.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.4061, allocations: 1.469 kB / 0.5934 GB, free: 27.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01428/0.4204, allocations: 5.116 MB / 0.5984 GB, free: 26.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/0.4205, allocations: 156.4 kB / 0.5985 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4205, allocations: 1.312 kB / 0.5985 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006194/0.4267, allocations: 2.102 MB / 0.6006 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.4277, allocations: 207.1 kB / 0.6008 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/0.4482, allocations: 9.545 MB / 0.6101 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.4499, allocations: 200.5 kB / 0.6103 GB, free: 21.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.4501, allocations: 46.47 kB / 0.6103 GB, free: 21.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4501, allocations: 7.781 kB / 0.6103 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/0.4623, allocations: 4.972 MB / 0.6152 GB, free: 17.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4624, allocations: 4 kB / 0.6152 GB, free: 17.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005466/0.4678, allocations: 2.1 MB / 0.6172 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009012/0.4688, allocations: 191.7 kB / 0.6174 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/0.4861, allocations: 9.526 MB / 0.6267 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4875, allocations: 195.1 kB / 0.6269 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4876, allocations: 36 kB / 0.6269 GB, free: 4.895 MB / 430.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 (110): * Single equations (assignments): 109 * 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.0005151/0.4881, allocations: 320.8 kB / 0.6272 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.4883, allocations: 106.7 kB / 0.6273 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.4999, allocations: 4.81 MB / 0.632 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.4999, allocations: 8 kB / 0.632 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4999, allocations: 2.469 kB / 0.6321 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.5, allocations: 8.922 kB / 0.6321 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.5149, allocations: 6.499 MB / 0.6384 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.515, allocations: 0 / 0.6384 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/0.5156, allocations: 115.9 kB / 0.6385 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00588/0.5215, allocations: 2.048 MB / 0.6405 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.5217, allocations: 24.8 kB / 0.6405 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/0.5384, allocations: 8.191 MB / 0.6485 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5385, allocations: 0 / 0.6485 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.5532, allocations: 5.84 MB / 0.6542 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.5536, allocations: 199.4 kB / 0.6544 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.5538, allocations: 16 kB / 0.6544 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009208/0.5547, allocations: 143.9 kB / 0.6546 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005888/0.5553, allocations: 196.6 kB / 0.6548 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.5554, allocations: 31.92 kB / 0.6548 GB, free: 8.012 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006983/0.5561, allocations: 0.5432 MB / 0.6553 GB, free: 7.457 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5561, allocations: 0 / 0.6553 GB, free: 7.457 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001995/0.5581, allocations: 0.692 MB / 0.656 GB, free: 6.766 MB / 462.1 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 () * 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 (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.0002607/0.5584, allocations: 127.7 kB / 0.6561 GB, free: 6.633 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/0.5698, allocations: 4.641 MB / 0.6607 GB, free: 1.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5698, allocations: 0 / 0.6607 GB, free: 1.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004653/0.5745, allocations: 1.743 MB / 0.6624 GB, free: 228 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.5757, allocations: 93.53 kB / 0.6625 GB, free: 132 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.5798, allocations: 2.417 MB / 0.6648 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/0.5806, allocations: 1.078 MB / 0.6659 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004908/0.5811, allocations: 97.92 kB / 0.666 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.5814, allocations: 67.42 kB / 0.666 GB, free: 12.45 MB / 478.1 MB Notification: Performance of SimCode: time 2.866e-06/0.5814, allocations: 0 / 0.666 GB, free: 12.45 MB / 478.1 MB Notification: Performance of Templates: time 0.04087/0.6223, allocations: 27.13 MB / 0.6925 GB, free: 1.488 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: