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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.656 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.001324/0.001324, allocations: 200.4 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5085/0.5085, allocations: 91.89 MB / 432.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 79.88 kB / 0.5025 GB, free: 7.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3499, allocations: 71.26 MB / 0.5721 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005478/0.3554, allocations: 6.141 MB / 0.5781 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.3588, allocations: 1.889 MB / 0.58 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006115/0.3595, allocations: 11.56 kB / 0.58 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.3599, allocations: 215 kB / 0.5802 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.3615, allocations: 0.6973 MB / 0.5809 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.3628, allocations: 0.6405 MB / 0.5815 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.3639, allocations: 1.353 MB / 0.5828 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.3643, allocations: 283.7 kB / 0.5831 GB, free: 30.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005509/0.3648, allocations: 0.5611 MB / 0.5836 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.3654, allocations: 0.6841 MB / 0.5843 GB, free: 29.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.3655, allocations: 95.56 kB / 0.5844 GB, free: 29.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.366, allocations: 244.1 kB / 0.5846 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.3661, allocations: 262.5 kB / 0.5849 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.3665, allocations: 0.5831 MB / 0.5854 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.3675, allocations: 1.439 MB / 0.5869 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3676, allocations: 1.656 kB / 0.5869 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3676, allocations: 0 / 0.5869 GB, free: 28.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3676, allocations: 0 / 0.5869 GB, free: 28.46 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.007577/0.3752, allocations: 2.434 MB / 0.5892 GB, free: 27.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3752, allocations: 13.06 kB / 0.5892 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/0.3801, allocations: 0.7681 MB / 0.59 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.3813, allocations: 0.7348 MB / 0.5907 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.3816, allocations: 255.7 kB / 0.591 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.3817, allocations: 79.91 kB / 0.591 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.3839, allocations: 1.104 MB / 0.5921 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3839, allocations: 0 / 0.5921 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.384, allocations: 25.69 kB / 0.5921 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.3841, allocations: 17.31 kB / 0.5922 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.3862, allocations: 1.028 MB / 0.5932 GB, free: 25.66 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.006128/0.3923, allocations: 3.505 MB / 0.5966 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.3948, allocations: 1.43 MB / 0.598 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.3965, allocations: 0.7406 MB / 0.5987 GB, free: 22.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.3966, allocations: 11.95 kB / 0.5987 GB, free: 22.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.3967, allocations: 40.36 kB / 0.5987 GB, free: 22.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 5.461e-06/0.3967, allocations: 0 / 0.5987 GB, free: 22.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02961/0.4263, allocations: 6.901 MB / 0.6055 GB, free: 21.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.4264, allocations: 87.11 kB / 0.6056 GB, free: 21.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.4277, allocations: 0.8278 MB / 0.6064 GB, free: 20.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.4279, allocations: 45.33 kB / 0.6064 GB, free: 20.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.4282, allocations: 446.5 kB / 0.6068 GB, free: 20.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.4286, allocations: 327.5 kB / 0.6072 GB, free: 20.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.429, allocations: 202.9 kB / 0.6074 GB, free: 19.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.4291, allocations: 350.1 kB / 0.6077 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.4307, allocations: 0.7096 MB / 0.6084 GB, free: 19.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.4323, allocations: 0.837 MB / 0.6092 GB, free: 18.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.4354, allocations: 1.516 MB / 0.6107 GB, free: 18.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4355, allocations: 1.156 kB / 0.6107 GB, free: 18.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01427/0.4497, allocations: 4.237 MB / 0.6148 GB, free: 16.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.4498, allocations: 5.219 kB / 0.6148 GB, free: 16.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.4498, allocations: 3.094 kB / 0.6148 GB, free: 16.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006305/0.4561, allocations: 1.784 MB / 0.6166 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4573, allocations: 200.1 kB / 0.6168 GB, free: 16.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/0.4768, allocations: 9.328 MB / 0.6259 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.4785, allocations: 170.9 kB / 0.626 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.174e-05/0.4786, allocations: 39.98 kB / 0.6261 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00161/0.4802, allocations: 0.8578 MB / 0.6269 GB, free: 6.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001355/0.4815, allocations: 0.8237 MB / 0.6277 GB, free: 5.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002573/0.4841, allocations: 1.498 MB / 0.6292 GB, free: 3.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.059e-06/0.4841, allocations: 0 / 0.6292 GB, free: 3.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01265/0.4968, allocations: 4.206 MB / 0.6333 GB, free: 15.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.4969, allocations: 9.719 kB / 0.6333 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4969, allocations: 0 / 0.6333 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006394/0.5033, allocations: 1.799 MB / 0.635 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.5044, allocations: 187.7 kB / 0.6352 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/0.5264, allocations: 9.318 MB / 0.6443 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.5281, allocations: 147.1 kB / 0.6445 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.5282, allocations: 43.98 kB / 0.6445 GB, free: 3.824 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 (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.0003653/0.5286, allocations: 229 kB / 0.6447 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.5289, allocations: 110.6 kB / 0.6448 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/0.5419, allocations: 3.904 MB / 0.6486 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.542, allocations: 8 kB / 0.6487 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.542, allocations: 4 kB / 0.6487 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.5421, allocations: 7.984 kB / 0.6487 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.5582, allocations: 5.54 MB / 0.6541 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.5582, allocations: 4 kB / 0.6541 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/0.5589, allocations: 107.8 kB / 0.6542 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006124/0.5651, allocations: 1.753 MB / 0.6559 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/0.5653, allocations: 16 kB / 0.6559 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/0.5857, allocations: 8.064 MB / 0.6638 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.5857, allocations: 7.984 kB / 0.6638 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/0.6018, allocations: 4.864 MB / 0.6685 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/0.6025, allocations: 195.5 kB / 0.6687 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/0.603, allocations: 19.98 kB / 0.6687 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.6044, allocations: 99.89 kB / 0.6688 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008237/0.6052, allocations: 204.7 kB / 0.669 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.6054, allocations: 20 kB / 0.6691 GB, free: 10.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00093/0.6063, allocations: 0.5549 MB / 0.6696 GB, free: 9.754 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6063, allocations: 0 / 0.6696 GB, free: 9.754 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002603/0.6089, allocations: 0.6906 MB / 0.6703 GB, free: 9.062 MB / 478.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 (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.0003212/0.6093, allocations: 132.3 kB / 0.6704 GB, free: 8.926 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01319/0.6225, allocations: 4.216 MB / 0.6745 GB, free: 4.684 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.6225, allocations: 0 / 0.6745 GB, free: 4.684 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005401/0.628, allocations: 1.555 MB / 0.676 GB, free: 3.117 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.6294, allocations: 88.98 kB / 0.6761 GB, free: 3.027 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.6344, allocations: 2.096 MB / 0.6782 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.6354, allocations: 1.074 MB / 0.6792 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.6357, allocations: 67.42 kB / 0.6793 GB, free: 15.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.996e-06/0.6358, allocations: 4 kB / 0.6793 GB, free: 15.73 MB / 494.1 MB Notification: Performance of Templates: time 0.033/0.6688, allocations: 20.14 MB / 0.699 GB, free: 11.57 MB / 0.4981 GB 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)