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.0008513/0.000851, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.362/1.362, allocations: 223.3 MB / 239.4 MB, free: 5.504 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.001107/0.001107, allocations: 184.5 kB / 290.6 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4649/0.4649, allocations: 78.55 MB / 420.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 16 kB / 0.4887 GB, free: 6.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 69.36 MB / 0.5564 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2395/0.3775, allocations: 6.004 MB / 0.5623 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.3813, allocations: 1.889 MB / 0.5641 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.3825, allocations: 13.44 kB / 0.5641 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005986/0.3831, allocations: 158.7 kB / 0.5643 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.3851, allocations: 0.6163 MB / 0.5649 GB, free: 35.03 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.001264/0.3864, allocations: 0.5852 MB / 0.5654 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3877, allocations: 1.289 MB / 0.5667 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004297/0.3882, allocations: 257.5 kB / 0.567 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007751/0.389, allocations: 0.4899 MB / 0.5674 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006463/0.3896, allocations: 0.629 MB / 0.568 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.964e-05/0.3897, allocations: 55.78 kB / 0.5681 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.3901, allocations: 179.3 kB / 0.5683 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.3903, allocations: 211.8 kB / 0.5685 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.3907, allocations: 0.5576 MB / 0.569 GB, free: 33.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3918, allocations: 1.365 MB / 0.5703 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3918, allocations: 3.938 kB / 0.5704 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3918, allocations: 0 / 0.5704 GB, free: 33.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3918, allocations: 0 / 0.5704 GB, free: 33.55 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.007028/0.3988, allocations: 2.28 MB / 0.5726 GB, free: 32.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3989, allocations: 7.844 kB / 0.5726 GB, free: 32.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004944/0.4038, allocations: 0.7785 MB / 0.5733 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.4052, allocations: 0.7333 MB / 0.5741 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.4054, allocations: 269.4 kB / 0.5743 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.4056, allocations: 80.03 kB / 0.5744 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.4078, allocations: 1.175 MB / 0.5755 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4078, allocations: 0 / 0.5755 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.02e-05/0.4079, allocations: 28.81 kB / 0.5756 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4079, allocations: 17.44 kB / 0.5756 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.4101, allocations: 1.12 MB / 0.5767 GB, free: 31.97 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.006231/0.4163, allocations: 3.538 MB / 0.5801 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.4187, allocations: 1.539 MB / 0.5816 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.4201, allocations: 0.8263 MB / 0.5824 GB, free: 29.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.4202, allocations: 14.31 kB / 0.5825 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.4203, allocations: 48.59 kB / 0.5825 GB, free: 29.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.224e-06/0.4203, allocations: 0 / 0.5825 GB, free: 29.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02961/0.4499, allocations: 8.547 MB / 0.5909 GB, free: 28.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.45, allocations: 86.27 kB / 0.5909 GB, free: 28.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.4516, allocations: 0.8208 MB / 0.5917 GB, free: 27.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000295/0.4519, allocations: 44.83 kB / 0.5918 GB, free: 27.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.4522, allocations: 458 kB / 0.5922 GB, free: 27.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.4526, allocations: 319.3 kB / 0.5925 GB, free: 27.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.4528, allocations: 105 kB / 0.5926 GB, free: 27.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.4529, allocations: 355.3 kB / 0.593 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.4547, allocations: 0.7836 MB / 0.5937 GB, free: 26.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.4566, allocations: 0.9173 MB / 0.5946 GB, free: 26.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/0.46, allocations: 1.675 MB / 0.5963 GB, free: 25.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4601, allocations: 1.25 kB / 0.5963 GB, free: 25.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01625/0.4763, allocations: 5.154 MB / 0.6013 GB, free: 24.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.4765, allocations: 160.3 kB / 0.6014 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.4766, allocations: 2.844 kB / 0.6014 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007829/0.4844, allocations: 2.097 MB / 0.6035 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.4857, allocations: 199.4 kB / 0.6037 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/0.5091, allocations: 9.561 MB / 0.613 GB, free: 18.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.5107, allocations: 208.5 kB / 0.6132 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.5109, allocations: 35.47 kB / 0.6133 GB, free: 18.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.5109, allocations: 4 kB / 0.6133 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01411/0.525, allocations: 5.009 MB / 0.6181 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.5251, allocations: 6.891 kB / 0.6182 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00625/0.5313, allocations: 2.106 MB / 0.6202 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/0.5323, allocations: 191.8 kB / 0.6204 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/0.552, allocations: 9.541 MB / 0.6297 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.5536, allocations: 179.2 kB / 0.6299 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.5538, allocations: 47.98 kB / 0.6299 GB, free: 2.09 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 (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.0005295/0.5543, allocations: 308.8 kB / 0.6302 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.5546, allocations: 106.7 kB / 0.6303 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/0.569, allocations: 4.826 MB / 0.635 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.569, allocations: 15.94 kB / 0.6351 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.569, allocations: 0 / 0.6351 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/0.569, allocations: 3.984 kB / 0.6351 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.5867, allocations: 6.493 MB / 0.6414 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.5867, allocations: 9.625 kB / 0.6414 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/0.5874, allocations: 115.9 kB / 0.6415 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006677/0.5941, allocations: 2.052 MB / 0.6435 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.5943, allocations: 23.94 kB / 0.6435 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/0.6142, allocations: 8.209 MB / 0.6516 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6142, allocations: 0 / 0.6516 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/0.6317, allocations: 5.857 MB / 0.6573 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.6322, allocations: 191.5 kB / 0.6575 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.6325, allocations: 16 kB / 0.6575 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.6339, allocations: 139.9 kB / 0.6576 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007377/0.6346, allocations: 205.2 kB / 0.6578 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.6347, allocations: 24 kB / 0.6578 GB, free: 5.164 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000828/0.6356, allocations: 0.5589 MB / 0.6584 GB, free: 4.594 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6356, allocations: 0 / 0.6584 GB, free: 4.594 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002533/0.6381, allocations: 0.6788 MB / 0.659 GB, free: 3.914 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 (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.0003268/0.6385, allocations: 127.8 kB / 0.6592 GB, free: 3.777 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01373/0.6522, allocations: 4.663 MB / 0.6637 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6523, allocations: 0 / 0.6637 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005511/0.6578, allocations: 1.754 MB / 0.6654 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.6593, allocations: 87.42 kB / 0.6655 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.664, allocations: 2.525 MB / 0.668 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.6648, allocations: 1.089 MB / 0.669 GB, free: 9.617 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005296/0.6654, allocations: 98.86 kB / 0.6691 GB, free: 9.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.6656, allocations: 63.42 kB / 0.6692 GB, free: 9.457 MB / 478.1 MB Notification: Performance of SimCode: time 6.32e-07/0.6656, allocations: 0 / 0.6692 GB, free: 9.457 MB / 478.1 MB Notification: Performance of Templates: time 0.04398/0.7096, allocations: 27.88 MB / 0.6964 GB, free: 13.74 MB / 0.4981 GB 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: