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.006299/0.006299, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.361/1.361, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001365/0.001365, allocations: 200.4 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5192/0.5192, allocations: 91.89 MB / 431.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 83.17 kB / 0.5727 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1198, allocations: 71.29 MB / 0.6423 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.006082/0.1259, allocations: 6.092 MB / 0.6483 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.1294, allocations: 1.856 MB / 0.6501 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.13, allocations: 12 kB / 0.6501 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.1305, allocations: 210.2 kB / 0.6503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.1321, allocations: 0.7519 MB / 0.6511 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1333, allocations: 0.6294 MB / 0.6517 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.1346, allocations: 1.354 MB / 0.653 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.135, allocations: 291.3 kB / 0.6533 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005885/0.1356, allocations: 0.564 MB / 0.6538 GB, free: 7.785 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.1362, allocations: 0.6844 MB / 0.6545 GB, free: 7.098 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.1364, allocations: 100 kB / 0.6546 GB, free: 7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.1368, allocations: 235.8 kB / 0.6548 GB, free: 6.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.137, allocations: 262.9 kB / 0.6551 GB, free: 6.512 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.1375, allocations: 0.5903 MB / 0.6556 GB, free: 5.918 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.1388, allocations: 1.456 MB / 0.6571 GB, free: 4.457 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1389, allocations: 4 kB / 0.6571 GB, free: 4.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1389, allocations: 0 / 0.6571 GB, free: 4.453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.1389, allocations: 0 / 0.6571 GB, free: 4.453 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.007661/0.1466, allocations: 2.43 MB / 0.6594 GB, free: 1.969 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1466, allocations: 8.031 kB / 0.6594 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.1516, allocations: 0.7711 MB / 0.6602 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.1528, allocations: 0.7477 MB / 0.6609 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.1531, allocations: 260.2 kB / 0.6612 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.1532, allocations: 75.91 kB / 0.6612 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.1555, allocations: 1.09 MB / 0.6623 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1555, allocations: 0 / 0.6623 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.1556, allocations: 28 kB / 0.6623 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1557, allocations: 16 kB / 0.6624 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.1579, allocations: 1.027 MB / 0.6634 GB, free: 13.85 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.005839/0.1638, allocations: 3.492 MB / 0.6668 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.1663, allocations: 1.442 MB / 0.6682 GB, free: 8.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.1678, allocations: 0.7456 MB / 0.6689 GB, free: 7.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/0.1679, allocations: 12.98 kB / 0.6689 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1679, allocations: 43.56 kB / 0.669 GB, free: 7.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 3.115e-06/0.168, allocations: 0 / 0.669 GB, free: 7.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02631/0.1943, allocations: 6.434 MB / 0.6752 GB, free: 1.352 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.1944, allocations: 90.11 kB / 0.6753 GB, free: 1.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.1956, allocations: 0.8319 MB / 0.6761 GB, free: 400 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.1958, allocations: 41.7 kB / 0.6762 GB, free: 352 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.1961, allocations: 456.6 kB / 0.6766 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.1965, allocations: 319.4 kB / 0.6769 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.1969, allocations: 198.8 kB / 0.6771 GB, free: 15.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.197, allocations: 349.9 kB / 0.6774 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.1986, allocations: 0.7048 MB / 0.6781 GB, free: 14.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.2003, allocations: 0.8392 MB / 0.6789 GB, free: 13.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.2036, allocations: 1.502 MB / 0.6804 GB, free: 11.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2036, allocations: 0 / 0.6804 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01443/0.218, allocations: 4.218 MB / 0.6845 GB, free: 7.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.2181, allocations: 8.781 kB / 0.6845 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2181, allocations: 0 / 0.6845 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006518/0.2246, allocations: 1.791 MB / 0.6863 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009814/0.2257, allocations: 191.7 kB / 0.6865 GB, free: 5.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/0.2485, allocations: 9.328 MB / 0.6956 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.2501, allocations: 159 kB / 0.6957 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.2502, allocations: 39.98 kB / 0.6958 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001852/0.2521, allocations: 0.8504 MB / 0.6966 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001659/0.2537, allocations: 0.8197 MB / 0.6974 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003151/0.2569, allocations: 1.482 MB / 0.6989 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.2569, allocations: 0 / 0.6989 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01435/0.2713, allocations: 4.195 MB / 0.7029 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.2714, allocations: 4 kB / 0.703 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2714, allocations: 4 kB / 0.703 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00682/0.2782, allocations: 1.792 MB / 0.7047 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.2794, allocations: 183.7 kB / 0.7049 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/0.3038, allocations: 9.323 MB / 0.714 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.3055, allocations: 159 kB / 0.7141 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.3057, allocations: 43.98 kB / 0.7142 GB, free: 8.93 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.0003856/0.3061, allocations: 228 kB / 0.7144 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.3064, allocations: 106.7 kB / 0.7145 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.3204, allocations: 3.912 MB / 0.7183 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.3204, allocations: 12 kB / 0.7183 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3204, allocations: 0 / 0.7183 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/0.3204, allocations: 7.922 kB / 0.7183 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.337, allocations: 5.617 MB / 0.7238 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.337, allocations: 4.062 kB / 0.7238 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/0.3377, allocations: 99.88 kB / 0.7239 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006412/0.3441, allocations: 1.741 MB / 0.7256 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.3444, allocations: 23.98 kB / 0.7256 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/0.3648, allocations: 8.072 MB / 0.7335 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.3648, allocations: 4 kB / 0.7335 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/0.3813, allocations: 4.818 MB / 0.7382 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.3817, allocations: 195.6 kB / 0.7384 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.382, allocations: 16 kB / 0.7384 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.3832, allocations: 99.89 kB / 0.7385 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000683/0.3839, allocations: 216.4 kB / 0.7387 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/0.384, allocations: 20 kB / 0.7388 GB, free: 15.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007771/0.3848, allocations: 0.5589 MB / 0.7393 GB, free: 14.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3848, allocations: 0 / 0.7393 GB, free: 14.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001994/0.3868, allocations: 0.6866 MB / 0.74 GB, free: 14.12 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.0002776/0.3871, allocations: 127.8 kB / 0.7401 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01345/0.4005, allocations: 4.194 MB / 0.7442 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.4006, allocations: 0 / 0.7442 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005026/0.4056, allocations: 1.543 MB / 0.7457 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009983/0.4066, allocations: 93.72 kB / 0.7458 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.4107, allocations: 1.984 MB / 0.7477 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.4114, allocations: 1.081 MB / 0.7488 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004751/0.4119, allocations: 98.67 kB / 0.7489 GB, free: 4.902 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.4122, allocations: 63.42 kB / 0.7489 GB, free: 4.84 MB / 0.545 GB Notification: Performance of SimCode: time 8.41e-07/0.4122, allocations: 0 / 0.7489 GB, free: 4.84 MB / 0.545 GB Notification: Performance of Templates: time 0.3328/0.745, allocations: 31.64 MB / 0.7798 GB, free: 117 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)