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.001167/0.001168, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009765/0.0009765, allocations: 104.2 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4449/0.4449, allocations: 78.51 MB / 418.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 71.88 kB / 497.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2766, allocations: 68.15 MB / 0.5524 GB, free: 19.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.00482/0.2814, allocations: 6.46 MB / 0.5587 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.284, allocations: 1.915 MB / 0.5606 GB, free: 11.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.2843, allocations: 12 kB / 0.5606 GB, free: 11.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.2847, allocations: 166.9 kB / 0.5608 GB, free: 11.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.2858, allocations: 0.6242 MB / 0.5614 GB, free: 10.68 MB / 378.7 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.0009325/0.2868, allocations: 0.5918 MB / 0.5619 GB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007593/0.2875, allocations: 1.312 MB / 0.5632 GB, free: 8.781 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.2878, allocations: 259.7 kB / 0.5635 GB, free: 8.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.2882, allocations: 0.521 MB / 0.564 GB, free: 7.992 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.2886, allocations: 0.6532 MB / 0.5646 GB, free: 7.336 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/0.2887, allocations: 63.98 kB / 0.5647 GB, free: 7.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.2891, allocations: 195.9 kB / 0.5649 GB, free: 7.082 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.2892, allocations: 226.8 kB / 0.5651 GB, free: 6.859 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.2895, allocations: 0.5474 MB / 0.5656 GB, free: 6.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007583/0.2903, allocations: 1.399 MB / 0.567 GB, free: 4.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2903, allocations: 0 / 0.567 GB, free: 4.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.2903, allocations: 0 / 0.567 GB, free: 4.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2903, allocations: 0 / 0.567 GB, free: 4.906 MB / 378.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.006502/0.2968, allocations: 2.442 MB / 0.5694 GB, free: 2.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.2969, allocations: 11.97 kB / 0.5694 GB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004238/0.3011, allocations: 0.7634 MB / 0.5701 GB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008025/0.3019, allocations: 0.736 MB / 0.5708 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.3021, allocations: 260.1 kB / 0.5711 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3022, allocations: 75.98 kB / 0.5712 GB, free: 500 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.3042, allocations: 1.094 MB / 0.5722 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3042, allocations: 0 / 0.5722 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.3043, allocations: 28 kB / 0.5723 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3043, allocations: 20 kB / 0.5723 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.3064, allocations: 1.031 MB / 0.5733 GB, free: 14.3 MB / 394.7 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.005654/0.3121, allocations: 3.473 MB / 0.5767 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.3143, allocations: 1.442 MB / 0.5781 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.3157, allocations: 0.7378 MB / 0.5788 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.3158, allocations: 16.97 kB / 0.5788 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3158, allocations: 43.56 kB / 0.5789 GB, free: 8.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 1.903e-06/0.3158, allocations: 4 kB / 0.5789 GB, free: 8.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=90): time 0.02858/0.3444, allocations: 6.894 MB / 0.5856 GB, free: 1.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.3445, allocations: 86.11 kB / 0.5857 GB, free: 1.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.3458, allocations: 0.828 MB / 0.5865 GB, free: 432 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.346, allocations: 41.7 kB / 0.5865 GB, free: 384 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.3463, allocations: 448.7 kB / 0.587 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/0.3466, allocations: 327.3 kB / 0.5873 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.3469, allocations: 202.8 kB / 0.5875 GB, free: 15.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3471, allocations: 345.9 kB / 0.5878 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.3486, allocations: 0.7165 MB / 0.5885 GB, free: 14.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.3502, allocations: 0.8392 MB / 0.5893 GB, free: 13.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003047/0.3533, allocations: 1.521 MB / 0.5908 GB, free: 11.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3533, allocations: 0 / 0.5908 GB, free: 11.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01588/0.3692, allocations: 4.238 MB / 0.5949 GB, free: 7.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3692, allocations: 4 kB / 0.5949 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.3692, allocations: 4 kB / 0.5949 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006351/0.3756, allocations: 1.78 MB / 0.5967 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/0.3765, allocations: 191.7 kB / 0.5969 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/0.397, allocations: 8.59 MB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.3984, allocations: 170.9 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/0.3985, allocations: 39.98 kB / 0.6055 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001717/0.4003, allocations: 0.8578 MB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001511/0.4018, allocations: 0.8314 MB / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002887/0.4047, allocations: 1.498 MB / 0.6086 GB, free: 9.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/0.4047, allocations: 0 / 0.6086 GB, free: 9.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01352/0.4182, allocations: 4.203 MB / 0.6127 GB, free: 5.281 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4182, allocations: 8 kB / 0.6127 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4183, allocations: 0 / 0.6127 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005981/0.4242, allocations: 1.792 MB / 0.6144 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.4251, allocations: 191.7 kB / 0.6146 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/0.4443, allocations: 8.555 MB / 0.623 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.4456, allocations: 143.2 kB / 0.6231 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.904e-05/0.4457, allocations: 47.98 kB / 0.6231 GB, free: 10.41 MB / 442.7 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 (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.0002692/0.446, allocations: 236.5 kB / 0.6234 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.4462, allocations: 110.6 kB / 0.6235 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.4589, allocations: 3.908 MB / 0.6273 GB, free: 6.141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.459, allocations: 12 kB / 0.6273 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.459, allocations: 0 / 0.6273 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.459, allocations: 7.922 kB / 0.6273 GB, free: 6.121 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.4738, allocations: 5.571 MB / 0.6328 GB, free: 424 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4738, allocations: 0 / 0.6328 GB, free: 424 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.4744, allocations: 107.9 kB / 0.6329 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005657/0.4801, allocations: 1.753 MB / 0.6346 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-05/0.4802, allocations: 16 kB / 0.6346 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/0.4967, allocations: 7.332 MB / 0.6417 GB, free: 7.051 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4967, allocations: 4 kB / 0.6417 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08839/0.5851, allocations: 31.87 MB / 0.6729 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.5853, allocations: 195.6 kB / 0.6731 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.5855, allocations: 16 kB / 0.6731 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009425/0.5864, allocations: 103.9 kB / 0.6732 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006034/0.587, allocations: 200.6 kB / 0.6734 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.5871, allocations: 23.98 kB / 0.6734 GB, free: 6.297 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006375/0.5878, allocations: 0.5511 MB / 0.6739 GB, free: 5.734 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5878, allocations: 0 / 0.6739 GB, free: 5.734 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002498/0.5903, allocations: 1.019 MB / 0.6749 GB, free: 4.715 MB / 490.7 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 (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.0002272/0.5905, allocations: 127.1 kB / 0.675 GB, free: 4.578 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01115/0.6017, allocations: 4.107 MB / 0.679 GB, free: 456 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6017, allocations: 4 kB / 0.6791 GB, free: 452 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2067/0.8085, allocations: 1.51 MB / 0.6805 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/0.8095, allocations: 86.86 kB / 0.6806 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008019/0.8175, allocations: 3.732 MB / 0.6843 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008838/0.8184, allocations: 1.116 MB / 0.6853 GB, free: 114.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006632/0.8191, allocations: 110 kB / 0.6854 GB, free: 114.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.8193, allocations: 61.8 kB / 0.6855 GB, free: 114.6 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.8194, allocations: 0 / 0.6855 GB, free: 114.6 MB / 490.7 MB Notification: Performance of Templates: time 0.04281/0.8622, allocations: 38.9 MB / 0.7235 GB, free: 85.72 MB / 490.7 MB 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)