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.001209/0.001209, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.43/1.43, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.00164/0.00164, allocations: 192.5 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5297/0.5297, allocations: 91.9 MB / 432.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 78.88 kB / 0.5734 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.143, allocations: 71.28 MB / 0.643 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.006825/0.1499, allocations: 6.103 MB / 0.649 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004041/0.154, allocations: 1.868 MB / 0.6508 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009259/0.155, allocations: 11.94 kB / 0.6508 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.1556, allocations: 210.2 kB / 0.651 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.1575, allocations: 0.691 MB / 0.6517 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.159, allocations: 0.6353 MB / 0.6523 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.1606, allocations: 1.351 MB / 0.6536 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.161, allocations: 291.3 kB / 0.6539 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008713/0.1619, allocations: 0.5601 MB / 0.6544 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007932/0.1627, allocations: 0.6883 MB / 0.6551 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.1629, allocations: 96 kB / 0.6552 GB, free: 7.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.1634, allocations: 231.9 kB / 0.6554 GB, free: 6.844 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.1637, allocations: 266.8 kB / 0.6557 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.1641, allocations: 0.5903 MB / 0.6563 GB, free: 5.988 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.1657, allocations: 1.448 MB / 0.6577 GB, free: 4.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1657, allocations: 0 / 0.6577 GB, free: 4.535 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1657, allocations: 4 kB / 0.6577 GB, free: 4.531 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.1657, allocations: 3.938 kB / 0.6577 GB, free: 4.527 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.008126/0.1738, allocations: 2.43 MB / 0.66 GB, free: 2.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1739, allocations: 12.03 kB / 0.6601 GB, free: 2.031 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005097/0.179, allocations: 0.7711 MB / 0.6608 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.1804, allocations: 0.7399 MB / 0.6615 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/0.1808, allocations: 256.2 kB / 0.6618 GB, free: 192 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.1809, allocations: 75.91 kB / 0.6619 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.1832, allocations: 1.094 MB / 0.6629 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1833, allocations: 0 / 0.6629 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/0.1834, allocations: 28 kB / 0.6629 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.1834, allocations: 16 kB / 0.663 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.1856, allocations: 1.031 MB / 0.664 GB, free: 13.93 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.006246/0.1919, allocations: 3.488 MB / 0.6674 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.1944, allocations: 1.446 MB / 0.6688 GB, free: 8.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.196, allocations: 0.7477 MB / 0.6695 GB, free: 7.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.016e-05/0.1961, allocations: 12.98 kB / 0.6695 GB, free: 7.945 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1961, allocations: 39.56 kB / 0.6696 GB, free: 7.898 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 4.028e-06/0.1961, allocations: 0 / 0.6696 GB, free: 7.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02526/0.2214, allocations: 6.438 MB / 0.6759 GB, free: 1.426 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.2215, allocations: 90.11 kB / 0.6759 GB, free: 1.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.2226, allocations: 0.828 MB / 0.6767 GB, free: 480 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.2228, allocations: 41.7 kB / 0.6768 GB, free: 432 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.2232, allocations: 464.5 kB / 0.6772 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.2236, allocations: 323.4 kB / 0.6775 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.224, allocations: 194.9 kB / 0.6777 GB, free: 15.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2241, allocations: 345.9 kB / 0.6781 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.2257, allocations: 0.7086 MB / 0.6787 GB, free: 14.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.2274, allocations: 0.8354 MB / 0.6796 GB, free: 13.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/0.2306, allocations: 1.502 MB / 0.681 GB, free: 11.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.2306, allocations: 0 / 0.681 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01424/0.2449, allocations: 4.222 MB / 0.6852 GB, free: 7.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.2449, allocations: 8 kB / 0.6852 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.245, allocations: 0 / 0.6852 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007001/0.252, allocations: 1.787 MB / 0.6869 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.2532, allocations: 195.7 kB / 0.6871 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.2768, allocations: 9.321 MB / 0.6962 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.2785, allocations: 159 kB / 0.6963 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/0.2787, allocations: 43.98 kB / 0.6964 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001997/0.2807, allocations: 0.8461 MB / 0.6972 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001739/0.2825, allocations: 0.8198 MB / 0.698 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003221/0.2857, allocations: 1.479 MB / 0.6995 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/0.2857, allocations: 0 / 0.6995 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01428/0.3, allocations: 4.199 MB / 0.7036 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3001, allocations: 4 kB / 0.7036 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3001, allocations: 4 kB / 0.7036 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006616/0.3067, allocations: 1.792 MB / 0.7053 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3078, allocations: 187.8 kB / 0.7055 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/0.3309, allocations: 9.325 MB / 0.7146 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.3325, allocations: 159 kB / 0.7148 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.3327, allocations: 39.98 kB / 0.7148 GB, free: 9.008 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.0003997/0.3332, allocations: 228 kB / 0.715 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.3335, allocations: 106.7 kB / 0.7151 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.3472, allocations: 3.912 MB / 0.7189 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.3473, allocations: 16 kB / 0.7189 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3473, allocations: 0 / 0.7189 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.3473, allocations: 7.922 kB / 0.719 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.3641, allocations: 5.609 MB / 0.7244 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.3641, allocations: 0 / 0.7244 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/0.3648, allocations: 107.8 kB / 0.7245 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006625/0.3715, allocations: 1.745 MB / 0.7262 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.3717, allocations: 19.98 kB / 0.7263 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/0.3921, allocations: 8.08 MB / 0.7341 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3921, allocations: 0 / 0.7341 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/0.4078, allocations: 4.818 MB / 0.7389 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.4083, allocations: 191.6 kB / 0.739 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003517/0.4087, allocations: 16 kB / 0.7391 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.4099, allocations: 99.89 kB / 0.7391 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007269/0.4107, allocations: 212.5 kB / 0.7393 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.4108, allocations: 24 kB / 0.7394 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008444/0.4116, allocations: 0.5549 MB / 0.7399 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4117, allocations: 0 / 0.7399 GB, free: 14.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002403/0.4141, allocations: 0.6866 MB / 0.7406 GB, free: 14.21 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.0003256/0.4144, allocations: 135.7 kB / 0.7407 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01232/0.4267, allocations: 4.18 MB / 0.7448 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4268, allocations: 0 / 0.7448 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004989/0.4318, allocations: 1.548 MB / 0.7463 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.433, allocations: 87.38 kB / 0.7464 GB, free: 8.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.4378, allocations: 2.023 MB / 0.7484 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008086/0.4386, allocations: 1.081 MB / 0.7494 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.439, allocations: 67.42 kB / 0.7495 GB, free: 4.977 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.439, allocations: 0 / 0.7495 GB, free: 4.977 MB / 0.545 GB Notification: Performance of Templates: time 0.03164/0.4707, allocations: 20.22 MB / 0.7692 GB, free: 0.7461 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)