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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, 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.249/1.249, 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.001016/0.001016, allocations: 99 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4534/0.4534, allocations: 78.48 MB / 418.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 497.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2737, allocations: 68.12 MB / 0.5523 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004714/0.2784, allocations: 6.468 MB / 0.5586 GB, free: 13.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.2809, allocations: 1.915 MB / 0.5605 GB, free: 11.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.2813, allocations: 12 kB / 0.5605 GB, free: 11.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.2816, allocations: 170.9 kB / 0.5607 GB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.2827, allocations: 0.6184 MB / 0.5613 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009412/0.2837, allocations: 0.5905 MB / 0.5618 GB, free: 10.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.2845, allocations: 1.308 MB / 0.5631 GB, free: 9.129 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.2848, allocations: 261.8 kB / 0.5634 GB, free: 8.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.2853, allocations: 0.5249 MB / 0.5639 GB, free: 8.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.2857, allocations: 0.6571 MB / 0.5645 GB, free: 7.676 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.2858, allocations: 64 kB / 0.5646 GB, free: 7.613 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.2862, allocations: 187.9 kB / 0.5648 GB, free: 7.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.2863, allocations: 230.8 kB / 0.565 GB, free: 7.203 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.2866, allocations: 0.5513 MB / 0.5655 GB, free: 6.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007747/0.2874, allocations: 1.393 MB / 0.5669 GB, free: 5.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2874, allocations: 0 / 0.5669 GB, free: 5.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.2874, allocations: 0 / 0.5669 GB, free: 5.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.2874, allocations: 0 / 0.5669 GB, free: 5.25 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.006756/0.2942, allocations: 2.444 MB / 0.5693 GB, free: 2.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2942, allocations: 15.97 kB / 0.5693 GB, free: 2.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/0.2988, allocations: 0.7634 MB / 0.57 GB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/0.2998, allocations: 0.7398 MB / 0.5708 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.3, allocations: 260.1 kB / 0.571 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.3002, allocations: 72 kB / 0.5711 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.3022, allocations: 1.09 MB / 0.5721 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.3022, allocations: 0 / 0.5721 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.3023, allocations: 36 kB / 0.5722 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.3023, allocations: 16 kB / 0.5722 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.3045, allocations: 1.031 MB / 0.5732 GB, free: 14.64 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.005909/0.3104, allocations: 3.469 MB / 0.5766 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.3128, allocations: 1.436 MB / 0.578 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.3144, allocations: 0.7417 MB / 0.5787 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.3145, allocations: 16.98 kB / 0.5787 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3145, allocations: 39.56 kB / 0.5788 GB, free: 8.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 2.484e-06/0.3145, allocations: 0 / 0.5788 GB, free: 8.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=90): time 0.0294/0.3439, allocations: 6.906 MB / 0.5855 GB, free: 1.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.344, allocations: 86.11 kB / 0.5856 GB, free: 1.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.345, allocations: 0.8241 MB / 0.5864 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.3452, allocations: 41.7 kB / 0.5864 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.3455, allocations: 448.7 kB / 0.5869 GB, free: 280 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/0.3458, allocations: 327.4 kB / 0.5872 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/0.3462, allocations: 202.8 kB / 0.5874 GB, free: 15.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3463, allocations: 345.9 kB / 0.5877 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.3479, allocations: 0.7165 MB / 0.5884 GB, free: 14.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.3495, allocations: 0.8431 MB / 0.5892 GB, free: 13.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.3526, allocations: 1.518 MB / 0.5907 GB, free: 12.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3526, allocations: 4 kB / 0.5907 GB, free: 12.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0138/0.3665, allocations: 4.234 MB / 0.5948 GB, free: 8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3665, allocations: 8 kB / 0.5948 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3665, allocations: 4 kB / 0.5948 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00637/0.3729, allocations: 1.78 MB / 0.5966 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/0.3739, allocations: 199.7 kB / 0.5968 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/0.3944, allocations: 8.58 MB / 0.6052 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3958, allocations: 162.9 kB / 0.6053 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.396, allocations: 39.98 kB / 0.6053 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001796/0.3978, allocations: 0.8617 MB / 0.6062 GB, free: 12.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001606/0.3994, allocations: 0.8275 MB / 0.607 GB, free: 11.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003131/0.4025, allocations: 1.494 MB / 0.6085 GB, free: 9.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.129e-06/0.4025, allocations: 4 kB / 0.6085 GB, free: 9.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01412/0.4167, allocations: 4.218 MB / 0.6126 GB, free: 5.602 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4167, allocations: 4 kB / 0.6126 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.4167, allocations: 4 kB / 0.6126 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00652/0.4233, allocations: 1.78 MB / 0.6143 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009419/0.4242, allocations: 187.7 kB / 0.6145 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/0.4456, allocations: 8.548 MB / 0.6229 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.447, allocations: 167.1 kB / 0.623 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4471, allocations: 32 kB / 0.623 GB, free: 10.74 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.0002808/0.4474, allocations: 236 kB / 0.6233 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.4476, allocations: 114.7 kB / 0.6234 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.461, allocations: 3.911 MB / 0.6272 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4611, allocations: 8 kB / 0.6272 GB, free: 6.457 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.4611, allocations: 0 / 0.6272 GB, free: 6.457 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.4611, allocations: 3.984 kB / 0.6272 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.4767, allocations: 5.571 MB / 0.6326 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.4768, allocations: 4 kB / 0.6327 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/0.4775, allocations: 103.9 kB / 0.6328 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00641/0.484, allocations: 1.745 MB / 0.6345 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/0.4842, allocations: 23.98 kB / 0.6345 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.5026, allocations: 7.336 MB / 0.6416 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5026, allocations: 3.938 kB / 0.6416 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09571/0.5983, allocations: 31.86 MB / 0.6728 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.5986, allocations: 191.5 kB / 0.6729 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.5989, allocations: 19.98 kB / 0.673 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.6001, allocations: 95.89 kB / 0.6731 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006812/0.6008, allocations: 208.6 kB / 0.6733 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.6009, allocations: 24 kB / 0.6733 GB, free: 6.629 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007619/0.6016, allocations: 0.5511 MB / 0.6738 GB, free: 6.066 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6017, allocations: 0 / 0.6738 GB, free: 6.066 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003001/0.6047, allocations: 1.011 MB / 0.6748 GB, free: 5.055 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.0002701/0.605, allocations: 123.2 kB / 0.6749 GB, free: 4.922 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01232/0.6173, allocations: 4.124 MB / 0.6789 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.6173, allocations: 0 / 0.6789 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2125/0.8298, allocations: 1.522 MB / 0.6804 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.8307, allocations: 84.8 kB / 0.6805 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008039/0.8387, allocations: 3.711 MB / 0.6841 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.8395, allocations: 1.118 MB / 0.6852 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005791/0.84, allocations: 111.4 kB / 0.6853 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.8403, allocations: 65.84 kB / 0.6854 GB, free: 114.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8403, allocations: 0 / 0.6854 GB, free: 114.6 MB / 490.7 MB Notification: Performance of Templates: time 0.04333/0.8837, allocations: 38.91 MB / 0.7234 GB, free: 85.9 MB / 490.7 MB 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)