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.001212/0.001212, allocations: 106 kB / 16.41 MB, free: 6.516 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.355/1.355, allocations: 222.9 MB / 240.1 MB, free: 4.523 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.001466/0.001467, allocations: 184.5 kB / 290.4 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5182/0.5182, allocations: 91.9 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 78.09 kB / 0.5734 GB, free: 33.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1402, allocations: 71.28 MB / 0.643 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.007055/0.1473, allocations: 6.147 MB / 0.649 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004086/0.1514, allocations: 1.887 MB / 0.6509 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.1525, allocations: 12 kB / 0.6509 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007796/0.1533, allocations: 214.2 kB / 0.6511 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.1559, allocations: 0.6976 MB / 0.6517 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.1576, allocations: 0.6445 MB / 0.6524 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002141/0.1598, allocations: 1.354 MB / 0.6537 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000591/0.1604, allocations: 287.3 kB / 0.654 GB, free: 8.297 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009592/0.1614, allocations: 0.5601 MB / 0.6545 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009915/0.1624, allocations: 0.6844 MB / 0.6552 GB, free: 7.047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.1628, allocations: 100 kB / 0.6553 GB, free: 6.949 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007164/0.1635, allocations: 231.9 kB / 0.6555 GB, free: 6.723 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.1638, allocations: 270.8 kB / 0.6558 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007805/0.1646, allocations: 0.5903 MB / 0.6563 GB, free: 5.863 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.1665, allocations: 1.448 MB / 0.6578 GB, free: 4.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1665, allocations: 0 / 0.6578 GB, free: 4.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1665, allocations: 0 / 0.6578 GB, free: 4.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.893e-05/0.1666, allocations: 0 / 0.6578 GB, free: 4.41 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.008432/0.175, allocations: 2.438 MB / 0.6601 GB, free: 1.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1751, allocations: 12.02 kB / 0.6601 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005067/0.1802, allocations: 0.7634 MB / 0.6609 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.1818, allocations: 0.7437 MB / 0.6616 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.1821, allocations: 256.2 kB / 0.6619 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.1823, allocations: 80.03 kB / 0.6619 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.1845, allocations: 1.094 MB / 0.663 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.1845, allocations: 0 / 0.663 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/0.1846, allocations: 24 kB / 0.663 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.1847, allocations: 20 kB / 0.663 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.1869, allocations: 1.027 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.006539/0.1934, allocations: 3.488 MB / 0.6675 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.1958, allocations: 1.426 MB / 0.6689 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.1972, allocations: 0.7378 MB / 0.6696 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.907e-05/0.1973, allocations: 12.98 kB / 0.6696 GB, free: 7.863 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.1974, allocations: 47.56 kB / 0.6696 GB, free: 7.809 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 3.396e-06/0.1974, allocations: 3.938 kB / 0.6696 GB, free: 7.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.0267/0.2241, allocations: 6.898 MB / 0.6764 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.2242, allocations: 86.11 kB / 0.6765 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2253, allocations: 0.8242 MB / 0.6773 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.2256, allocations: 45.7 kB / 0.6773 GB, free: 15.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.2259, allocations: 448.5 kB / 0.6777 GB, free: 15.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.2263, allocations: 323.3 kB / 0.678 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.2267, allocations: 206.8 kB / 0.6782 GB, free: 14.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2269, allocations: 345.9 kB / 0.6786 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.2284, allocations: 0.7165 MB / 0.6793 GB, free: 13.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.2299, allocations: 0.8353 MB / 0.6801 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.2329, allocations: 1.514 MB / 0.6816 GB, free: 11.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.2329, allocations: 4 kB / 0.6816 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01351/0.2464, allocations: 4.238 MB / 0.6857 GB, free: 7.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.2465, allocations: 4.938 kB / 0.6857 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2465, allocations: 4 kB / 0.6857 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006374/0.2529, allocations: 1.776 MB / 0.6874 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.254, allocations: 199.6 kB / 0.6876 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.2751, allocations: 9.301 MB / 0.6967 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.2766, allocations: 170.9 kB / 0.6969 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.2767, allocations: 39.98 kB / 0.6969 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001789/0.2785, allocations: 0.8543 MB / 0.6977 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001586/0.2801, allocations: 0.8353 MB / 0.6986 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002932/0.2831, allocations: 1.49 MB / 0.7 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.803e-06/0.2831, allocations: 4 kB / 0.7 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01343/0.2966, allocations: 4.21 MB / 0.7041 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2966, allocations: 4 kB / 0.7041 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2966, allocations: 4 kB / 0.7041 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006238/0.3029, allocations: 1.784 MB / 0.7059 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000987/0.3039, allocations: 191.7 kB / 0.7061 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/0.3248, allocations: 9.29 MB / 0.7151 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.3263, allocations: 155.1 kB / 0.7153 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.3264, 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.00034/0.3268, allocations: 236 kB / 0.7156 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.327, allocations: 114.6 kB / 0.7157 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.3395, allocations: 3.9 MB / 0.7195 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.3396, allocations: 16 kB / 0.7195 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3396, allocations: 0 / 0.7195 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.3397, allocations: 3.984 kB / 0.7195 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.3547, allocations: 5.544 MB / 0.7249 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.3548, allocations: 4 kB / 0.7249 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.3555, allocations: 103.9 kB / 0.725 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00588/0.3614, allocations: 1.749 MB / 0.7267 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.3617, allocations: 16 kB / 0.7267 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/0.3798, allocations: 8.052 MB / 0.7346 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3798, allocations: 0 / 0.7346 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.3943, allocations: 4.866 MB / 0.7393 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.3948, allocations: 191.6 kB / 0.7395 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.395, allocations: 16 kB / 0.7395 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.396, allocations: 107.9 kB / 0.7396 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006341/0.3967, allocations: 204.6 kB / 0.7398 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.3967, allocations: 20 kB / 0.7399 GB, free: 14.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007205/0.3975, allocations: 0.5588 MB / 0.7404 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3975, allocations: 0 / 0.7404 GB, free: 14.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00211/0.3996, allocations: 0.6905 MB / 0.7411 GB, free: 13.68 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.0002951/0.3999, allocations: 135.6 kB / 0.7412 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01148/0.4114, allocations: 4.192 MB / 0.7453 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.4114, allocations: 0 / 0.7453 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00478/0.4162, allocations: 1.555 MB / 0.7468 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000993/0.4173, allocations: 91.36 kB / 0.7469 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.4217, allocations: 2.063 MB / 0.7489 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/0.4225, allocations: 1.085 MB / 0.75 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.4229, allocations: 67.42 kB / 0.75 GB, free: 4.387 MB / 0.545 GB Notification: Performance of SimCode: time 6.42e-07/0.4229, allocations: 0 / 0.75 GB, free: 4.387 MB / 0.545 GB Notification: Performance of Templates: time 0.0292/0.4521, allocations: 20.22 MB / 0.7698 GB, free: 152 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)