Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008582/0.008582, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.402/1.402, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001519/0.001519, allocations: 192.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5547/0.5547, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 76.81 kB / 0.5727 GB, free: 33.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1589, allocations: 71.28 MB / 0.6423 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.006932/0.1659, allocations: 6.104 MB / 0.6483 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.1694, allocations: 1.856 MB / 0.6501 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.1699, allocations: 12 kB / 0.6501 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.1703, allocations: 214.2 kB / 0.6503 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.1719, allocations: 0.6964 MB / 0.651 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1732, allocations: 0.6265 MB / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.1746, allocations: 1.354 MB / 0.6529 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.175, allocations: 291.2 kB / 0.6532 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006161/0.1756, allocations: 0.5602 MB / 0.6538 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007459/0.1764, allocations: 0.6883 MB / 0.6544 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.1765, allocations: 100 kB / 0.6545 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.177, allocations: 239.8 kB / 0.6548 GB, free: 6.809 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.1773, allocations: 258.8 kB / 0.655 GB, free: 6.555 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006134/0.1779, allocations: 0.5864 MB / 0.6556 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.1798, allocations: 1.459 MB / 0.657 GB, free: 4.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1798, allocations: 0 / 0.657 GB, free: 4.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1798, allocations: 0 / 0.657 GB, free: 4.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.1799, allocations: 0 / 0.657 GB, free: 4.5 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007814/0.1877, allocations: 2.48 MB / 0.6594 GB, free: 1.965 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1877, allocations: 12.03 kB / 0.6594 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00493/0.1927, allocations: 0.7719 MB / 0.6602 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.1939, allocations: 0.7563 MB / 0.6609 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/0.1942, allocations: 256.2 kB / 0.6612 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1943, allocations: 72 kB / 0.6612 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.1965, allocations: 1.09 MB / 0.6623 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1966, allocations: 4 kB / 0.6623 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/0.1967, allocations: 28 kB / 0.6623 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.1967, allocations: 20 kB / 0.6624 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.199, allocations: 1.023 MB / 0.6634 GB, free: 13.84 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.005722/0.2047, allocations: 3.504 MB / 0.6668 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.2071, allocations: 1.448 MB / 0.6682 GB, free: 8.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.2086, allocations: 0.7439 MB / 0.6689 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.2087, allocations: 9 kB / 0.6689 GB, free: 7.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.2088, allocations: 47.5 kB / 0.669 GB, free: 7.797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.836e-06/0.2088, allocations: 0 / 0.669 GB, free: 7.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02524/0.234, allocations: 6.446 MB / 0.6753 GB, free: 1.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.2341, allocations: 90.11 kB / 0.6754 GB, free: 1.211 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.2352, allocations: 0.8242 MB / 0.6762 GB, free: 372 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.2353, allocations: 45.7 kB / 0.6762 GB, free: 320 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.2356, allocations: 453.3 kB / 0.6766 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.2359, allocations: 341 kB / 0.677 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/0.2363, allocations: 202.9 kB / 0.6772 GB, free: 15.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2365, allocations: 349.9 kB / 0.6775 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.2381, allocations: 0.7009 MB / 0.6782 GB, free: 14.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.2397, allocations: 0.8392 MB / 0.679 GB, free: 13.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003139/0.2429, allocations: 1.498 MB / 0.6805 GB, free: 11.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2429, allocations: 0 / 0.6805 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01366/0.2566, allocations: 4.23 MB / 0.6846 GB, free: 7.617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2566, allocations: 4 kB / 0.6846 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2566, allocations: 4 kB / 0.6846 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006441/0.2631, allocations: 1.791 MB / 0.6863 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/0.264, allocations: 191.7 kB / 0.6865 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/0.2862, allocations: 9.316 MB / 0.6956 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.2878, allocations: 171.2 kB / 0.6958 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/0.288, allocations: 35.98 kB / 0.6958 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002044/0.2901, allocations: 0.8504 MB / 0.6966 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001647/0.2918, allocations: 0.8275 MB / 0.6975 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003011/0.2948, allocations: 1.479 MB / 0.6989 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.2948, allocations: 0 / 0.6989 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01335/0.3082, allocations: 4.207 MB / 0.703 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3082, allocations: 8 kB / 0.703 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3082, allocations: 8 kB / 0.703 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006262/0.3145, allocations: 1.788 MB / 0.7048 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/0.3155, allocations: 187.7 kB / 0.7049 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/0.3369, allocations: 9.326 MB / 0.7141 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3384, allocations: 159.3 kB / 0.7142 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.3386, allocations: 32 kB / 0.7142 GB, free: 8.859 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 (106): * Single equations (assignments): 105 * 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.0003127/0.3389, allocations: 236.1 kB / 0.7145 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.3391, allocations: 115.2 kB / 0.7146 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.352, allocations: 3.908 MB / 0.7184 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.352, allocations: 8 kB / 0.7184 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.352, allocations: 0 / 0.7184 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/0.3521, allocations: 7.922 kB / 0.7184 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.3682, allocations: 5.629 MB / 0.7239 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.3683, allocations: 0 / 0.7239 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/0.369, allocations: 103.9 kB / 0.724 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006015/0.375, allocations: 1.749 MB / 0.7257 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.3752, allocations: 16 kB / 0.7257 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.3947, allocations: 8.089 MB / 0.7336 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.3947, allocations: 3.938 kB / 0.7336 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/0.4103, allocations: 4.826 MB / 0.7383 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.4107, allocations: 204.2 kB / 0.7385 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.4111, allocations: 16 kB / 0.7386 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.4124, allocations: 95.89 kB / 0.7386 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007742/0.4132, allocations: 212.5 kB / 0.7388 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.4133, allocations: 24 kB / 0.7389 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009298/0.4142, allocations: 0.5589 MB / 0.7394 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4143, allocations: 0 / 0.7394 GB, free: 14.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002492/0.4168, allocations: 0.6907 MB / 0.7401 GB, free: 14.01 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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 (56): * Single equations (assignments): 55 * 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.0003405/0.4171, allocations: 126.5 kB / 0.7402 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.4293, allocations: 4.197 MB / 0.7443 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.4294, allocations: 0 / 0.7443 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004825/0.4342, allocations: 1.558 MB / 0.7458 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4353, allocations: 95.41 kB / 0.7459 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.4396, allocations: 2.012 MB / 0.7479 GB, free: 5.945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007207/0.4404, allocations: 1.077 MB / 0.7489 GB, free: 4.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005004/0.4409, allocations: 102.7 kB / 0.749 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.4412, allocations: 67.42 kB / 0.7491 GB, free: 4.668 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.4412, allocations: 0 / 0.7491 GB, free: 4.668 MB / 0.545 GB Notification: Performance of Templates: time 0.3855/0.8267, allocations: 31.64 MB / 0.78 GB, free: 116.8 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)