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.001075/0.001075, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.35/1.35, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001415/0.001415, allocations: 196.5 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5033/0.5033, allocations: 91.89 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 78.25 kB / 0.5734 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 71.29 MB / 0.643 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.006435/0.1259, allocations: 6.151 MB / 0.649 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.1296, allocations: 1.88 MB / 0.6509 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006307/0.1302, allocations: 11.94 kB / 0.6509 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.1308, allocations: 218.2 kB / 0.6511 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.1325, allocations: 0.7006 MB / 0.6518 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1339, allocations: 0.6384 MB / 0.6524 GB, free: 9.957 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.1354, allocations: 1.358 MB / 0.6537 GB, free: 8.594 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.1358, allocations: 287.2 kB / 0.654 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006653/0.1365, allocations: 0.5601 MB / 0.6545 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.1373, allocations: 0.6844 MB / 0.6552 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.1374, allocations: 96 kB / 0.6553 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.1379, allocations: 239.8 kB / 0.6555 GB, free: 6.723 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.1381, allocations: 266.9 kB / 0.6558 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.1386, allocations: 0.5825 MB / 0.6563 GB, free: 5.875 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.1401, allocations: 1.456 MB / 0.6578 GB, free: 4.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1401, allocations: 0 / 0.6578 GB, free: 4.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1401, allocations: 0 / 0.6578 GB, free: 4.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.1401, allocations: 0 / 0.6578 GB, free: 4.414 MB / 462.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.007888/0.148, allocations: 2.438 MB / 0.6601 GB, free: 1.922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.148, allocations: 8.031 kB / 0.6602 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.1532, allocations: 0.7712 MB / 0.6609 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.1546, allocations: 0.736 MB / 0.6616 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.1549, allocations: 264.2 kB / 0.6619 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.1551, allocations: 75.98 kB / 0.6619 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.1573, allocations: 1.094 MB / 0.663 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1573, allocations: 0 / 0.663 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1575, allocations: 32 kB / 0.663 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.1575, allocations: 20 kB / 0.6631 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.1597, allocations: 1.019 MB / 0.6641 GB, free: 13.81 MB / 478.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.006286/0.166, allocations: 3.484 MB / 0.6675 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.1684, allocations: 1.425 MB / 0.6689 GB, free: 8.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.17, allocations: 0.7416 MB / 0.6696 GB, free: 7.879 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.509e-05/0.1701, allocations: 16.98 kB / 0.6696 GB, free: 7.863 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.1701, allocations: 39.56 kB / 0.6696 GB, free: 7.816 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 3.056e-06/0.1702, allocations: 3.938 kB / 0.6696 GB, free: 7.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.02747/0.1976, allocations: 6.894 MB / 0.6764 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.1977, allocations: 90.05 kB / 0.6765 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.199, allocations: 0.8243 MB / 0.6773 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.1992, allocations: 45.7 kB / 0.6773 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.1996, allocations: 444.6 kB / 0.6777 GB, free: 15.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/0.2001, allocations: 331.3 kB / 0.678 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005074/0.2006, allocations: 202.8 kB / 0.6782 GB, free: 14.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2008, allocations: 345.9 kB / 0.6786 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.2024, allocations: 0.7126 MB / 0.6793 GB, free: 13.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.2042, allocations: 0.8393 MB / 0.6801 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/0.2074, allocations: 1.51 MB / 0.6816 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.2075, allocations: 0 / 0.6816 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01405/0.2215, allocations: 4.245 MB / 0.6857 GB, free: 7.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.2216, allocations: 4 kB / 0.6857 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.2216, allocations: 4 kB / 0.6857 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006577/0.2282, allocations: 1.783 MB / 0.6875 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.2293, allocations: 191.7 kB / 0.6876 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/0.2525, allocations: 9.301 MB / 0.6967 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.2541, allocations: 174.8 kB / 0.6969 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.2544, allocations: 39.98 kB / 0.6969 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002003/0.2564, allocations: 0.8543 MB / 0.6978 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001746/0.2581, allocations: 0.8276 MB / 0.6986 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003281/0.2614, allocations: 1.498 MB / 0.7 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.651e-06/0.2614, allocations: 0 / 0.7 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01413/0.2756, allocations: 4.21 MB / 0.7041 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2756, allocations: 8 kB / 0.7041 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2757, allocations: 0 / 0.7041 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006519/0.2822, allocations: 1.796 MB / 0.7059 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/0.2832, allocations: 183.8 kB / 0.7061 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/0.3064, allocations: 9.29 MB / 0.7151 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.3081, allocations: 155.1 kB / 0.7153 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.3084, allocations: 39.98 kB / 0.7153 GB, free: 8.43 MB / 0.5137 GB 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.0004631/0.3089, allocations: 232 kB / 0.7156 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/0.3092, allocations: 110.6 kB / 0.7157 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.3229, allocations: 3.9 MB / 0.7195 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.3229, allocations: 12 kB / 0.7195 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.323, allocations: 7.984 kB / 0.7195 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.323, allocations: 3.984 kB / 0.7195 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.339, allocations: 5.548 MB / 0.7249 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.339, allocations: 0 / 0.7249 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.3397, allocations: 111.9 kB / 0.725 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006052/0.3457, allocations: 1.741 MB / 0.7267 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.3459, allocations: 19.98 kB / 0.7267 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/0.365, allocations: 8.052 MB / 0.7346 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3651, allocations: 0 / 0.7346 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/0.3806, allocations: 4.866 MB / 0.7393 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.381, allocations: 187.6 kB / 0.7395 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.3813, allocations: 16 kB / 0.7395 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.3824, allocations: 99.89 kB / 0.7396 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006184/0.3831, allocations: 208.6 kB / 0.7398 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/0.3831, allocations: 24 kB / 0.7399 GB, free: 14.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007421/0.3839, allocations: 0.5549 MB / 0.7404 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.493e-06/0.3839, allocations: 0 / 0.7404 GB, free: 14.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0019/0.3858, allocations: 0.6904 MB / 0.7411 GB, free: 13.69 MB / 0.545 GB 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.0002742/0.3861, allocations: 138 kB / 0.7412 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01202/0.3981, allocations: 4.198 MB / 0.7453 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3982, allocations: 0 / 0.7453 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004916/0.4031, allocations: 1.547 MB / 0.7468 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.4041, allocations: 88.67 kB / 0.7469 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.4083, allocations: 2.081 MB / 0.7489 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.409, allocations: 1.085 MB / 0.75 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.4094, allocations: 63.44 kB / 0.7501 GB, free: 4.387 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/0.4094, allocations: 0 / 0.7501 GB, free: 4.387 MB / 0.545 GB Notification: Performance of Templates: time 0.02807/0.4374, allocations: 20.22 MB / 0.7698 GB, free: 156 kB / 0.5606 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)